File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1+ [profile .ci ]
2+ fail-fast = false
3+
4+ [profile .ci .junit ]
5+ path = " junit.xml"
Original file line number Diff line number Diff line change @@ -50,15 +50,26 @@ jobs:
5050
5151 name : Test using Rust stable on ${{ matrix.os }}
5252 runs-on : ${{ matrix.os }}
53+ permissions :
54+ id-token : write # required by `getsentry/prevent-action`
5355
5456 steps :
5557 - name : Checkout sources
5658 uses : actions/checkout@v4
5759
5860 - uses : Swatinem/rust-cache@v2
5961
60- - name : Run cargo test
61- run : cargo test --workspace --all-features --all-targets
62+ - uses : taiki-e/install-action@nextest
63+
64+ - name : Run tests with nextest
65+ run : cargo nextest run --profile ci --all-features --all-targets
66+
67+ - name : Upload test results to Sentry Prevent
68+ if : ${{ !cancelled() }}
69+ uses : getsentry/prevent-action@v0
70+ with :
71+ files : target/nextest/ci/junit.xml
72+ disable_search : true
6273
6374 MSRV :
6475 strategy :
You can’t perform that action at this time.
0 commit comments