mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-09 02:54:37 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user