Skip to content

Commit

Permalink
Update no-profiled criteria
Browse files Browse the repository at this point in the history
Signed-off-by: Ching Yi, Chan <[email protected]>
  • Loading branch information
qrtt1 committed Sep 4, 2023
1 parent e83b756 commit af1db93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piperider_cli/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ def _slim_dbt_manifest(manifest):
if not _check_assertion_status(assertion_results, assertion_exceptions):
return EC_ERR_TEST_FAILED

if len(run_result.get('tables', {})) == 0 and len(run_result.get('metrics', [])) == 0:
if len(subjects) == 0 and len(run_result.get('metrics', [])) == 0:
return EC_WARN_NO_PROFILED_MODULES

return 0

0 comments on commit af1db93

Please sign in to comment.