Skip to content

Commit

Permalink
github: create junit file when running nextest
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutkovs committed Dec 24, 2024
1 parent 1f1de8b commit 71f596f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[profile.default.junit]
path = "junit.xml"
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- name: Collect coverage data
run: cargo llvm-cov nextest; ls -la
run: cargo llvm-cov nextest
- name: Upload test results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: target/nextest/ci/junit.xml
files: target/nextest/default/junit.xml
- name: Upload to CodeCov
uses: codecov/codecov-action@v5
with:
Expand Down

0 comments on commit 71f596f

Please sign in to comment.