"make test": fail if one of the example toxes fails
This commit is contained in:
parent
9c3331e66c
commit
701fb7f2b5
4
Makefile
4
Makefile
|
@ -7,11 +7,11 @@ test:
|
||||||
cargo test
|
cargo test
|
||||||
${MAKE} clippy
|
${MAKE} clippy
|
||||||
tox
|
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:
|
test_py3:
|
||||||
tox -e 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:
|
fmt:
|
||||||
cargo fmt --all -- --check
|
cargo fmt --all -- --check
|
||||||
|
|
Loading…
Reference in New Issue