pyo3/ci/actions/test.sh

13 lines
230 B
Bash
Executable File

#!/bin/bash
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
cd $example_dir
tox -c "tox.ini" -e py
cd -
done