Skip to content

Commit 7e291ea

Browse files
committed
make test.sh fail if any command fails
1 parent 80cb5cb commit 7e291ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/actions/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
cargo test --features "$FEATURES num-bigint num-complex"
3+
set -e -u -o pipefail
4+
5+
cargo test --features "${FEATURES:-} num-bigint num-complex"
46
(cd pyo3-derive-backend; cargo test)
57

68
for example_dir in examples/*; do

0 commit comments

Comments
 (0)