Use a unit test reporter

This commit is contained in:
Nehu 2022-11-11 11:58:03 +01:00
parent 37d99a70c2
commit 99a94702d0
No known key found for this signature in database
GPG key ID: 78EB319889EB5FBF
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,6 @@
[profile.ci]
# Don't fail fast in CI to run the full test suite.
fail-fast = false
[profile.ci.junit]
path = "junit.xml"

View file

@ -68,5 +68,12 @@ jobs:
with:
command: nextest
args: run --all-features --profile ci
- name: Process unit test report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: test-results
path: target/nextest/ci/junit.xml
reporter: java-junit
- name: Run documentation tests
run: cargo test --doc