diff --git a/tests/run_dbt_tests_docker.sh b/tests/run_dbt_tests_docker.sh index 909344ad..76740e05 100755 --- a/tests/run_dbt_tests_docker.sh +++ b/tests/run_dbt_tests_docker.sh @@ -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 -