Skip to content

Commit d42a0e2

Browse files
authored
Merge pull request #428 from stoutfiles/main
Add support for v1.8
2 parents 81da1e4 + de79483 commit d42a0e2

File tree

7 files changed

+45
-13
lines changed

7 files changed

+45
-13
lines changed

.github/workflows/ci_lint_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
architecture: "x64"
5151

5252
- name: Install Python packages
53-
run: python -m pip install dbt-snowflake~=1.7.0 sqlfluff-templater-dbt~=2.3.2
53+
run: python -m pip install dbt-snowflake~=1.8.0 sqlfluff-templater-dbt~=2.3.2
5454

5555
- name: Test database connection
5656
run: dbt debug

.github/workflows/ci_test_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
DBT_ENV_SECRET_DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
2222
DBT_ENV_SECRET_GCP_PROJECT: ${{ secrets.GCP_PROJECT }}
2323
# Env var to test version
24-
LAST_RELEASE_SUPPORTED_DBT_VERSION: 1_7_0 # A dbt version supported by both the last release and this one
24+
LAST_RELEASE_SUPPORTED_DBT_VERSION: 1_8_0 # A dbt version supported by both the last release and this one
2525
# Env vars to test invocations model
2626
DBT_CLOUD_PROJECT_ID: 123
2727
DBT_CLOUD_JOB_ID: ABC
@@ -115,7 +115,7 @@ jobs:
115115
matrix:
116116
warehouse: ["snowflake", "bigquery", "postgres"]
117117
# When supporting a new version, update the list here
118-
version: ["1_3_0", "1_4_0", "1_5_0", "1_6_0", "1_7_0"]
118+
version: ["1_3_0", "1_4_0", "1_5_0", "1_6_0", "1_7_0", "1_8_0"]
119119
runs-on: ubuntu-latest
120120
environment:
121121
name: Approve Integration Tests

.github/workflows/main_lint_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
architecture: "x64"
4747

4848
- name: Install Python packages
49-
run: python -m pip install dbt-snowflake~=1.7.0 sqlfluff-templater-dbt~=2.3.2
49+
run: python -m pip install dbt-snowflake~=1.8.0 sqlfluff-templater-dbt~=2.3.2
5050

5151
- name: Test database connection
5252
run: dbt debug

.github/workflows/main_test_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
warehouse: ["snowflake", "bigquery", "postgres"]
38-
version: ["1_3_0", "1_4_0", "1_5_0", "1_6_0", "1_7_0"]
38+
version: ["1_3_0", "1_4_0", "1_5_0", "1_6_0", "1_7_0", "1_8_0"]
3939
runs-on: ubuntu-latest
4040
permissions:
4141
contents: "read"

.github/workflows/publish_docs_on_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/checkout@v3
4040

4141
- name: Install Python packages
42-
run: python -m pip install dbt-snowflake~=1.7.0
42+
run: python -m pip install dbt-snowflake~=1.8.0
4343

4444
- name: Test database connection
4545
run: dbt debug

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "dbt_artifacts"
22
version: "2.6.2"
33
config-version: 2
4-
require-dbt-version: [">=1.3.0", "<1.8.0"]
4+
require-dbt-version: [">=1.3.0", "<1.9.0"]
55
profile: "dbt_artifacts"
66

77
clean-targets: # folders to be removed by `dbt clean`

tox.ini

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ rules = LT01,LT02,LT03,CP01,AL01,AL02,CP02,ST08,LT06,LT07,AM01,LT08,AL05,RF02,RF
3636

3737
deps =
3838
sqlfluff-templater-dbt~=2.0.2
39-
dbt-snowflake~=1.7.0
39+
dbt-snowflake~=1.8.0
4040

4141
[sqlfluff:indentation]
4242
indent_unit = space
@@ -114,13 +114,13 @@ commands = sqlfluff fix models --ignore parsing
114114

115115
# Generate docs
116116
[testenv:generate_docs]
117-
deps = dbt-snowflake~=1.7.0
117+
deps = dbt-snowflake~=1.8.0
118118
commands = dbt docs generate --profiles-dir integration_test_project
119119

120120
# Snowflake integration tests
121121
[testenv:integration_snowflake]
122122
changedir = integration_test_project
123-
deps = dbt-snowflake~=1.7.0
123+
deps = dbt-snowflake~=1.8.0
124124
commands =
125125
dbt clean
126126
dbt deps
@@ -167,10 +167,18 @@ commands =
167167
dbt deps
168168
dbt build --target snowflake
169169

170+
[testenv:integration_snowflake_1_8_0]
171+
changedir = integration_test_project
172+
deps = dbt-snowflake~=1.8.0
173+
commands =
174+
dbt clean
175+
dbt deps
176+
dbt build --target snowflake
177+
170178
# Databricks integration tests
171179
[testenv:integration_databricks]
172180
changedir = integration_test_project
173-
deps = dbt-databricks~=1.7.0
181+
deps = dbt-databricks~=1.8.0
174182
commands =
175183
dbt clean
176184
dbt deps
@@ -216,10 +224,18 @@ commands =
216224
dbt deps
217225
dbt build --target databricks
218226

227+
[testenv:integration_databricks_1_8_0]
228+
changedir = integration_test_project
229+
deps = dbt-databricks~=1.8.0
230+
commands =
231+
dbt clean
232+
dbt deps
233+
dbt build --target databricks
234+
219235
# Bigquery integration tests
220236
[testenv:integration_bigquery]
221237
changedir = integration_test_project
222-
deps = dbt-bigquery~=1.7.0
238+
deps = dbt-bigquery~=1.8.0
223239
commands =
224240
dbt clean
225241
dbt deps
@@ -265,6 +281,14 @@ commands =
265281
dbt deps
266282
dbt build --target bigquery --vars '"my_var": "my value"'
267283

284+
[testenv:integration_bigquery_1_8_0]
285+
changedir = integration_test_project
286+
deps = dbt-bigquery~=1.8.0
287+
commands =
288+
dbt clean
289+
dbt deps
290+
dbt build --target bigquery --vars '"my_var": "my value"'
291+
268292
# Spark integration test (disabled)
269293
[testenv:integration_spark]
270294
changedir = integration_test_project
@@ -276,7 +300,7 @@ commands =
276300

277301
[testenv:integration_postgres]
278302
changedir = integration_test_project
279-
deps = dbt-postgres~=1.7.0
303+
deps = dbt-postgres~=1.8.0
280304
commands =
281305
dbt clean
282306
dbt deps
@@ -322,4 +346,12 @@ commands =
322346
dbt deps
323347
dbt build --target postgres
324348

349+
[testenv:integration_postgres_1_8_0]
350+
changedir = integration_test_project
351+
deps = dbt-postgres~=1.7.0
352+
commands =
353+
dbt clean
354+
dbt deps
355+
dbt build --target postgres
356+
325357

0 commit comments

Comments
 (0)