Skip to content

Commit

Permalink
Merge pull request #4 from edx/jazibhumayun/upgrade-dbt-version-1.0
Browse files Browse the repository at this point in the history
chore: dbt version upgrade 1.0.3
  • Loading branch information
jazibhumayun authored Apr 15, 2022
2 parents 5ea3565 + 7a962c4 commit 11228c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
config-version: 2

name: 'snowflake_timetravel_table'
version: '0.0.2'
version: '0.0.3'
4 changes: 2 additions & 2 deletions integration_tests/run_project/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: '0.0.1'

profile: 'integration_tests'

source-paths: ["models"]
model-paths: ["models"]
test-paths: ["tests"]
data-paths: ["data"]
seed-paths: ["data"]

models:
# We must disable creating tables as "transient" since those do not support time travel.
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/seed_project/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version: '0.0.1'

profile: 'integration_tests'

source-paths: ["models"]
model-paths: ["models"]
test-paths: ["tests"]
data-paths: ["data"]
seed-paths: ["data"]

models:
# We must disable creating tables as "transient" since those do not support time travel.
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
# use skipsdist=True to avoid needing a setup.py, since the thing we are testing is NOT a python package.
skipsdist = True
envlist = py38-dbt{021}-int
envlist = py38-dbt{1}-int

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

0 comments on commit 11228c7

Please sign in to comment.