-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rm --dry-run flag for dbt deps * Add changelog entry * Update test * PR feedback
- Loading branch information
Showing
5 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
kind: Breaking Changes | ||
body: Rm --dry-run flag from 'dbt deps --add-package', in favor of just 'dbt deps | ||
--lock' | ||
time: 2023-11-29T09:19:21.071212+01:00 | ||
custom: | ||
Author: jtcohen6 | ||
Issue: "9100" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,14 +75,14 @@ def test_deps_add(self, clean_start): | |
) | ||
assert len(os.listdir("dbt_packages")) == 3 | ||
|
||
def test_deps_add_dry_run(self, clean_start): | ||
def test_deps_add_without_install(self, clean_start): | ||
os.rename("packages.yml", "dependencies.yml") | ||
run_dbt( | ||
[ | ||
"deps", | ||
"--add-package", | ||
"dbt-labs/[email protected]", | ||
"--dry-run", | ||
"--lock", | ||
] | ||
) | ||
assert not os.path.exists("dbt_packages") | ||
|