Skip to content

Commit

Permalink
getting exit code to throw error in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
86LAK committed May 4, 2024
1 parent 1fe68c3 commit 2a0df0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration_tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

docker-compose up -d backend db
docker-compose run --rm tests
docker-compose down --rmi all -v --remove-orphans
EXIT_CODE=$?
docker-compose down --rmi all -v --remove-orphans
exit $EXIT_CODE

0 comments on commit 2a0df0b

Please sign in to comment.