ci: disable coverage in CI and increase timeout to 90min
Some checks failed
CI / ruff (push) Successful in 13s
CI / validate (push) Successful in 28s
CI / dependency-scanning (push) Successful in 34s
CI / pytest (push) Failing after 1h10m23s
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled

Coverage instrumentation (--cov) in pyproject.toml addopts was adding
3-5x overhead on the 2-core ARM CI runner. Disable it in CI with
--no-cov and --override-ini to clear addopts. Add --durations=20 to
identify slowest tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 19:36:58 +01:00
parent 40da2d6b11
commit 60bed05d3f

View File

@@ -41,7 +41,7 @@ jobs:
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
pytest: pytest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 45 timeout-minutes: 90
services: services:
postgres: postgres:
image: postgres:15 image: postgres:15
@@ -75,7 +75,7 @@ jobs:
run: uv pip install --system -r requirements.txt -r requirements-test.txt run: uv pip install --system -r requirements.txt -r requirements-test.txt
- name: Run tests - name: Run tests
run: python -m pytest -v --tb=short --timeout=120 run: python -m pytest -v --tb=short --timeout=120 --no-cov --override-ini="addopts=" -p no:cacheprovider --durations=20
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest