"make test": fail if one of the example toxes fails

This commit is contained in:
Georg Brandl 2020-03-13 13:29:30 +01:00
parent 9c3331e66c
commit 701fb7f2b5

View file

@ -7,11 +7,11 @@ test:
cargo test
${MAKE} clippy
tox
for example in examples/*; do tox -e py -c $$example/tox.ini; done
for example in examples/*; do tox -e py -c $$example/tox.ini || exit 1; done
test_py3:
tox -e py3
for example in examples/*; do tox -e py3 -c $$example/tox.ini; done
for example in examples/*; do tox -e py3 -c $$example/tox.ini || exit 1; done
fmt:
cargo fmt --all -- --check