Skip to content

Commit

Permalink
Remove noxfile and use just in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SRv6d committed Sep 14, 2024
1 parent 6ef5a68 commit 8adeb4d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 148 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
with:
enable-cache: true
- run: uv python install ${{ matrix.python_version }}
- run: uvx nox -s test
- uses: extractions/setup-just@v2

- run: just test

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
files: ./coverage.xml,!./nox
files: ./coverage.xml
env_vars: PYTHON
use_oidc: true
fail_ci_if_error: true
12 changes: 9 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s lint
- uses: extractions/setup-just@v2

- run: just lint
check-lockfile:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,7 +28,9 @@ jobs:
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s lockfile
- uses: extractions/setup-just@v2

- run: just check-lockfile
type-check:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,7 +39,9 @@ jobs:
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- run: uvx nox -s mypy
- uses: extractions/setup-just@v2

- run: just type-check
spellcheck:
runs-on: ubuntu-latest
steps:
Expand Down
143 changes: 0 additions & 143 deletions noxfile.py

This file was deleted.

0 comments on commit 8adeb4d

Please sign in to comment.