Skip to content

Commit 61a1fca

Browse files
committed
ci: Test using cargo-careful
1 parent f124a16 commit 61a1fca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,26 @@ jobs:
7070
run: cargo install cross
7171
- run: ./scripts/cross-tests.sh "docs" ${{ matrix.rust }} ${{ matrix.target }}
7272

73+
cargo_careful:
74+
runs-on: ubuntu-latest
75+
name: cargo_careful
76+
steps:
77+
- uses: actions/checkout@v4
78+
- uses: dtolnay/rust-toolchain@master
79+
with:
80+
toolchain: nightly
81+
- uses: Swatinem/rust-cache@v2
82+
- name: Install cargo-careful
83+
run: cargo install cargo-careful
84+
- run: cargo careful test -Zcareful-sanitizer --features="$FEATURES"
85+
- run: cargo careful test -Zcareful-sanitizer -p ndarray-rand
86+
7387
conclusion:
7488
needs:
7589
- clippy
7690
- tests
7791
- cross_test
92+
- cargo_careful
7893
if: always()
7994
runs-on: ubuntu-latest
8095
steps:

0 commit comments

Comments
 (0)