Skip to content

Commit 6e82b6f

Browse files
authored
Added test result analyzis. (#40)
1 parent 2f94e8a commit 6e82b6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,13 @@ jobs:
111111
export CARGO_INCREMENTAL="1"
112112
cargo llvm-cov clean --workspace
113113
uv run -- maturin dev --uv
114-
uv run -- pytest -vv python/tests --cov natsrpy --cov-report xml
114+
uv run -- pytest -vv python/tests --cov natsrpy --cov-report xml --junitxml=junit.xml -o junit_family=legacy
115115
cargo llvm-cov report --lcov --output-path coverage.lcov
116+
- name: Upload test results to Codecov
117+
if: ${{ !cancelled() }}
118+
uses: codecov/test-results-action@v1
119+
with:
120+
token: ${{ secrets.CODECOV_TOKEN }}
116121
- uses: codecov/codecov-action@v5
117122
with:
118123
fail_ci_if_error: false

0 commit comments

Comments
 (0)