Run the nox sessions in CI
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m29s
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m29s
This commit is contained in:
parent
ad8d43815e
commit
094a1fd1b1
1 changed files with 13 additions and 2 deletions
|
|
@ -57,6 +57,17 @@ jobs:
|
|||
run: |
|
||||
uv sync --locked --python-preference only-managed
|
||||
|
||||
# `TESTING=true` comes from `pyproject.toml`
|
||||
- name: Check the code formatting
|
||||
run: |
|
||||
uv run nox -s format
|
||||
# Fail if `format` would change anything
|
||||
git diff --exit-code
|
||||
|
||||
- name: Lint the code files
|
||||
run: uv run nox -s lint
|
||||
|
||||
- name: Run the test suite
|
||||
run: uv run pytest -q
|
||||
run: uv run nox -s test
|
||||
|
||||
- name: Run the doctests
|
||||
run: uv run nox -s doctest
|
||||
|
|
|
|||
Loading…
Reference in a new issue