Merge pull request #806 from birkenfeld/make-fix

"make test": fail if one of the example toxes fails
This commit is contained in:
Yuji Kanagawa 2020-03-13 22:06:13 +09:00 committed by GitHub
commit a92ca0167b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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