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

Feature/52 auto dbt artifacts #53

Merged
merged 2 commits into from
Sep 16, 2023
Merged

Conversation

datnguye
Copy link
Owner

@datnguye datnguye commented Sep 16, 2023

resolves #52

Description

New option --dbt-auto-artifacts will work together with --dbt option in order to trigger the dbt artifact files generated for a dbt project.

The command will look like:

BEFORE:

cd /path/to/dbt/project
dbt docs generate
dbterd run -s +my_model --dbt 

AFTER:

cd /path/to/dbt/project
dbterd run -s +my_model --dbt --dbt-auto-artifacts

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR

@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Merging #53 (6cd899c) into main (bed433d) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           43        43           
  Lines         1092      1130   +38     
=========================================
+ Hits          1092      1130   +38     
Files Changed Coverage Δ
dbterd/adapters/base.py 100.00% <100.00%> (ø)
dbterd/adapters/dbt_invocation.py 100.00% <100.00%> (ø)
dbterd/cli/params.py 100.00% <100.00%> (ø)
tests/unit/adapters/test_base.py 100.00% <100.00%> (ø)
tests/unit/adapters/test_dbt_invocation.py 100.00% <100.00%> (ø)

@datnguye datnguye merged commit 81ed668 into main Sep 16, 2023
12 checks passed
@datnguye datnguye deleted the feature/52-auto-dbt-artifacts branch September 16, 2023 03:28
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.

[FEAT] Auto generate dbt artifacts
1 participant