piperider
piperider copied to clipboard
Return non-zero exit code if test failed
Summary
Currently, when there are failed test, it still return zero exit-code.
If we would like to integrate pipeline in workflow system (e.g. airflow) or CI system (e.g. jenkins, github action), it would be better to failed with non-zero exit code so that we can make the job with failed condition
Intended Outcome
When there is any test failed, return non-zero (1 would be good enugh)
How will it work?
In the command piperider run
, call exit(1)
if there is any test failed.
sc-28851
reference: how dbt handles exit codes https://docs.getdbt.com/reference/exit-codes