mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +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: |
|
run: |
|
||||||
uv run mypy .
|
uv run mypy .
|
||||||
|
|
||||||
- name: Run tests with pytest
|
- name: Run tests with pytest (with coverage & junit)
|
||||||
env:
|
env:
|
||||||
UPSTREAM_BASE_URL: "http://test"
|
UPSTREAM_BASE_URL: "http://test"
|
||||||
UPSTREAM_API_KEY: "test"
|
UPSTREAM_API_KEY: "test"
|
||||||
run: |
|
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
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user