Merge pull request #806 from birkenfeld/make-fix
"make test": fail if one of the example toxes fails
This commit is contained in:
commit
a92ca0167b
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue