Skip to content

Commit 33e3b8e

Browse files
committed
xunit2 format, another update method
1 parent f31634f commit 33e3b8e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build_test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,17 @@ jobs:
518518
with:
519519
files: .tox/coverage.xml
520520
token: ${{ secrets.CODECOV_TOKEN }}
521+
flags: coverage
522+
name: coverage-${{ github.run_id }}
523+
fail_ci_if_error: false
524+
verbose: true
521525
- name: Upload test results to Codecov
522-
if: ${{ !cancelled() }}
526+
if: ${{ always() }}
523527
uses: codecov/test-results-action@v1
524528
with:
525529
token: ${{ secrets.CODECOV_TOKEN }}
526530
files: junit_results/*.xml
531+
flags: test-results
532+
name: test-results-${{ github.run_id }}
533+
fail_ci_if_error: false
534+
verbose: true

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ depends = py39, py310, py311, py312, py313
164164
[pytest]
165165
log_level = info
166166
addopts = -ra --strict-markers
167-
junit_family = legacy
167+
junit_family = xunit2
168168
filterwarnings =
169169
error::UserWarning:cryptography.*
170170
error::cryptography.utils.CryptographyDeprecationWarning

0 commit comments

Comments
 (0)