From 46a1e8ebef28d61c26bd81be427e262ed15adc71 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 5 Oct 2025 02:30:31 +0000 Subject: [PATCH] CI: run pytest with junitxml and coverage artifacts Generate pytest.xml and coverage output so artifact upload step stops warning. --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8099634..104921c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,12 +35,15 @@ jobs: run: | uv run mypy . - - name: Run tests with pytest + - name: Run tests with pytest (with coverage & junit) env: UPSTREAM_BASE_URL: "http://test" UPSTREAM_API_KEY: "test" run: | - uv run pytest --verbose --tb=short + uv run pytest \ + --verbose --tb=short \ + --junitxml=pytest.xml \ + --cov=routstr --cov-report=term - name: Upload test results if: always()