Skip to content

Commit

Permalink
fix: exit whole run if dbt run does not exit with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
njogz committed Sep 16, 2024
1 parent e565787 commit 46e7e51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/run_dbt_tests_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ echo Install dbt dependencies ...
dbt deps
echo Running dbt ...
dbt run
run_exit_status=$?
if [ $run_exit_status -ne 0 ]; then
echo "DBT run failed"
exit $run_exit_status
fi
echo Running tests ...
dbt test

0 comments on commit 46e7e51

Please sign in to comment.