Exiting when not all tests are fulfilled.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adsooi 2024-10-17 03:44:35 +02:00
parent 2899ac6cde
commit 3c0d99d9c0
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -12,7 +12,7 @@ rebuild=true
cd runtime-pyside6/tests/plugins || exit 1
box "Testing pytest natural plugins..."
PYTHONPATH="$PYTHONPATH:." pytest --cov=natural --cov-report term-missing .
PYTHONPATH="$PYTHONPATH:." pytest --cov=natural --cov-report term-missing . || exit 1
cd ../../../
while [ $# -gt 0 ]; do
@ -40,11 +40,11 @@ cp -r runtime-pyside6/tests build/runtime-pyside6
cp -r ci CHANGELOG.md build/runtime-pyside6
cd build/runtime-pyside6 || exit 1
box "Testing runtime-pyside6..."
PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing .
PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing . || exit 1
cd ../../
# Run js tests
cd common || exit 1
box "Testing common..."
npm test
npm test || exit 1