CI: run pytest with junitxml and coverage artifacts

Generate pytest.xml and coverage output so artifact upload step stops warning.
This commit is contained in:
Cursor Agent
2025-10-05 02:30:31 +00:00
parent 9593437a81
commit 46a1e8ebef
+5 -2
View File
@@ -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()