diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 822dafd..bdd4ddc 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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