Skip to content

Commit 11228c7

Browse files
authored
Merge pull request #4 from edx/jazibhumayun/upgrade-dbt-version-1.0
chore: dbt version upgrade 1.0.3
2 parents 5ea3565 + 7a962c4 commit 11228c7

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
config-version: 2
22

33
name: 'snowflake_timetravel_table'
4-
version: '0.0.2'
4+
version: '0.0.3'

integration_tests/run_project/dbt_project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: '0.0.1'
77

88
profile: 'integration_tests'
99

10-
source-paths: ["models"]
10+
model-paths: ["models"]
1111
test-paths: ["tests"]
12-
data-paths: ["data"]
12+
seed-paths: ["data"]
1313

1414
models:
1515
# We must disable creating tables as "transient" since those do not support time travel.

integration_tests/seed_project/dbt_project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ version: '0.0.1'
88

99
profile: 'integration_tests'
1010

11-
source-paths: ["models"]
11+
model-paths: ["models"]
1212
test-paths: ["tests"]
13-
data-paths: ["data"]
13+
seed-paths: ["data"]
1414

1515
models:
1616
# We must disable creating tables as "transient" since those do not support time travel.

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
# use skipsdist=True to avoid needing a setup.py, since the thing we are testing is NOT a python package.
33
skipsdist = True
4-
envlist = py38-dbt{021}-int
4+
envlist = py38-dbt{1}-int
55

66
[pytest]
77
testpaths =
@@ -21,7 +21,8 @@ setenv =
2121
SNOWFLAKE_TEST_PASSWORD={env:SNOWFLAKE_TEST_PASSWORD:}
2222
deps =
2323
pytest
24-
dbt021: dbt>=0.21,<1.0
24+
dbt1: dbt-core>=1.0.3,<1.0.4
25+
dbt-snowflake==1.0.0
2526
commands =
2627
# --full-refresh will cause seed to drop existing seed tables first, which helps make tests deterministic.
2728
dbt seed --project-dir integration_tests/seed_project --profiles-dir integration_tests/test_profile --full-refresh

0 commit comments

Comments
 (0)