1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

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

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
exit $exit_code