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

dbt test supports --resource-type / --exclude-resource-type CLI flags and related environment variables #6192

Merged
merged 16 commits into from
Oct 1, 2024

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Oct 1, 2024

Preview

Resolves #6101
Originally #6126

What are you changing in this pull request and why?

Beginning in dbt-core v1.9, it is possible to use the --resource-type and --exclude-resource-type CLI flags (and related env vars) with the dbt test command.

Environment variables

While the DBT_RESOURCE_TYPES / DBT_EXCLUDE_RESOURCE_TYPES aren't mentioned on the resource type page, they are mentioned in the table of global configs as well as the unit test page.

Checklist

Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Oct 1, 2024 3:39pm

@github-actions github-actions bot added content Improvements or additions to content size: small This change will take 1 to 2 days to address labels Oct 1, 2024
@dbeatty10 dbeatty10 marked this pull request as ready for review October 1, 2024 15:17
@dbeatty10 dbeatty10 requested a review from a team as a code owner October 1, 2024 15:17
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

…ted in the `dbt test` command

Co-authored-by: Mirna Wong <[email protected]>
@dbeatty10 dbeatty10 enabled auto-merge (squash) October 1, 2024 15:35
@dbeatty10 dbeatty10 merged commit 364da5b into current Oct 1, 2024
10 checks passed
@dbeatty10 dbeatty10 deleted the dbeatty/6101-docs branch October 1, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] Enable --resource-type and --exclude-resource-type CLI flags and environment variables for dbt test
3 participants