From 094a1fd1b1037a5b1ebb28d452770b019fd625dc Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Fri, 27 Nov 2026 13:07:21 +0100 Subject: [PATCH] Run the `nox` sessions in CI --- .forgejo/workflows/ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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