fix: make test script fail if tests fail [ci skip]

This commit is contained in:
Ferdinand Mütsch 2021-09-18 14:24:16 +02:00
parent fe0f41cecb
commit 13cf911edf
1 changed files with 4 additions and 1 deletions

View File

@ -33,9 +33,12 @@ echo ""
echo "Running test collection ..."
newman run "Wakapi API Tests.postman_collection.json"
exit_code=$?
echo "Shutting down Wakapi ..."
kill -TERM $pid
echo "Deleting database ..."
rm wakapi_testing.db
rm wakapi_testing.db
exit $exit_code