Skip to content

Commit 69aace9

Browse files
committed
add junitxml output and upload test results to Codecov
1 parent d68c467 commit 69aace9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test_linux.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
COLUMNS: 120
7979
run: |
8080
python -m pytest --cov=src \
81+
--junitxml=junit.xml -o junit_family=legacy \
8182
--cov-report=term-missing \
8283
--cov-report=xml \
8384
--cov-config=.coveragerc \
@@ -91,3 +92,9 @@ jobs:
9192
token: ${{ secrets.CODECOV_TOKEN }}
9293
files: ./coverage.xml
9394
fail_ci_if_error: false
95+
96+
- name: Upload test results to Codecov
97+
if: ${{ !cancelled() }}
98+
uses: codecov/test-results-action@v1
99+
with:
100+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)