Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to print all failures to console #332

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

pgoslatara
Copy link
Member

Resolves #

Problem

Currently the outputted failures are limited to the first 25. If a user wants to see more then they need to run in verbose mode which is painful to scroll through.

Solution

Adding a --show-all-failures CLI flag to remove the 25 failures limit. This is also accessible via the GitHub Action.

Checklist

  • I have run this code in development, and it appears to resolve the stated issue.
  • This PR includes tests, or tests are not required or relevant for this PR.

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/dbt_bouncer
   config_file_validator.py107298%160, 190
   runner.py75495%129, 165–166, 224
   utils.py1021486%52, 146–160, 199
src/dbt_bouncer/artifact_parsers
   parsers_common.py47198%58
   parsers_manifest.py84495%172, 174, 182, 259
   parsers_run_results.py33391%64, 66, 69
src/dbt_bouncer/checks/manifest
   check_models.py201199%546
   check_unit_tests.py47394%100, 150, 201
src/dbt_bouncer/checks/run_results
   check_run_results.py19289%97–98
TOTAL40153499% 

Tests Skipped Failures Errors Time
1 0 💤 0 ❌ 0 🔥 8.023s ⏱️

@pgoslatara pgoslatara marked this pull request as ready for review January 16, 2025 18:14
@pgoslatara pgoslatara merged commit 8cf8e79 into main Jan 16, 2025
14 checks passed
@pgoslatara pgoslatara deleted the print-all-failures branch January 16, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant