Skip to content

Commit 2e94120

Browse files
committed
Add a separate CI job using cargo-careful to test using debug assertion in std.
1 parent 1abf55e commit 2e94120

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,23 @@ jobs:
116116
env:
117117
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: valgrind --leak-check=no --error-exitcode=1
118118
119+
careful:
120+
runs-on: ubuntu-latest
121+
needs: [lint, check-msrv, examples]
122+
steps:
123+
- uses: actions/checkout@v3
124+
- uses: actions-rs/toolchain@v1
125+
with:
126+
toolchain: nightly
127+
profile: minimal
128+
default: true
129+
- uses: Swatinem/rust-cache@v2
130+
continue-on-error: true
131+
- run: |
132+
pip install numpy
133+
cargo install --locked cargo-careful
134+
cargo careful test --all-features
135+
119136
check-msrv:
120137
runs-on: ubuntu-latest
121138
steps:

0 commit comments

Comments
 (0)