make test.sh fail if any command fails

This commit is contained in:
Jack O'Connor 2020-03-24 11:45:12 -04:00
parent dd240a6f00
commit 4a0c316b23
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash
cargo test --features "$FEATURES num-bigint num-complex"
set -e -u -o pipefail
cargo test --features "${FEATURES:-} num-bigint num-complex"
(cd pyo3-derive-backend; cargo test)
for example_dir in examples/*; do