Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: Test using cargo-careful
  • Loading branch information
bluss committed Mar 9, 2024
commit 31009f34dbe5925abfd2b9b06ccd5fc07a4354db
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,27 @@ jobs:
run: cargo install cross
- run: ./scripts/cross-tests.sh "docs" ${{ matrix.rust }} ${{ matrix.target }}

cargo-careful:
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest
name: cargo-careful
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v2
- name: Install cargo-careful
run: cargo install cargo-careful
- run: cargo careful test -Zcareful-sanitizer --features="$FEATURES"
- run: cargo careful test -Zcareful-sanitizer -p ndarray-rand

conclusion:
needs:
- clippy
- tests
- cross_test
- cargo-careful
if: always()
runs-on: ubuntu-latest
steps:
Expand Down