-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3308] adjust dbt build to run in dag order -> unit tests, model materialization, data tests #8979
Closed
1 task done
Tracked by
#8283
Labels
Comments
github-actions
bot
changed the title
adjust dbt build to run in dag order -> unit tests, model materialization, data tests
[CT-3308] adjust dbt build to run in dag order -> unit tests, model materialization, data tests
Nov 1, 2023
This was referenced Nov 1, 2023
Outcome of flag spike:
We can include adding these new test types to the |
This was referenced Nov 10, 2023
Closed
This was referenced Nov 16, 2023
This was referenced Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Housekeeping
Short description
From #8651 and #8606
As per the above, move the unit testing functionality to the 'test' command and ensure that the build command runs unit tests.
Acceptance criteria
when
dbt build
is executed with unit tests, we will process the models according to their lineage / dependencies - executing the relevant tests in the following order:This is key for saving unnecessary warehouse spend, because we actually won’t materialize the model in the warehouse unless the unit tests pass successfully.
unit tests and data tests are types of tests that can be selected using
--select test_type:unit
or--select test_type:data
fordbt build
(same with--exclude
)Impact to Other Teams
none
Will backports be required?
No
Context
Follow up work to add exclusion capabilities once this issue is complete -> #8651
The text was updated successfully, but these errors were encountered: