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:
50
50
51
51
name : Test using Rust stable on ${{ matrix.os }}
52
52
runs-on : ${{ matrix.os }}
53
+ permissions :
54
+ id-token : write # required by `getsentry/prevent-action`
53
55
54
56
steps :
55
57
- name : Checkout sources
56
58
uses : actions/checkout@v4
57
59
58
60
- uses : Swatinem/rust-cache@v2
59
61
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
62
73
63
74
MSRV :
64
75
strategy :
You can’t perform that action at this time.
0 commit comments