From 60bed05d3fcde23b10dc15436351d31c425854ca Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 19 Mar 2026 19:36:58 +0100 Subject: [PATCH] ci: disable coverage in CI and increase timeout to 90min 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) --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9ccd118d..b8177746 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: # --------------------------------------------------------------------------- pytest: runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 90 services: postgres: image: postgres:15 @@ -75,7 +75,7 @@ jobs: run: uv pip install --system -r requirements.txt -r requirements-test.txt - 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: runs-on: ubuntu-latest