Skip to content

Commit

Permalink
Add CI checks for 1.6 (#378)
Browse files Browse the repository at this point in the history
* Add CI checks for 1.6

* Add databricks tests

* Specify linter version

* Remove databricks
  • Loading branch information
glsdown authored Sep 11, 2023
1 parent 8c8fbed commit 8910738
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_lint_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} # Check out the code of the PR

- name: Install Python packages
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt~=2.0.2

- name: Test database connection
run: dbt debug
Expand Down
28 changes: 26 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,18 @@ commands =
dbt deps
dbt build --target snowflake

[testenv:integration_snowflake_1_6_0]
changedir = integration_test_project
deps = dbt-snowflake~=1.6.0
commands =
dbt clean
dbt deps
dbt build --target snowflake

# Databricks integration tests
[testenv:integration_databricks]
changedir = integration_test_project
deps = dbt-databricks~=1.4.0
deps = dbt-databricks~=1.6.0
commands =
dbt clean
dbt deps
Expand Down Expand Up @@ -184,10 +192,18 @@ commands =
dbt deps
dbt build --target databricks

[testenv:integration_databricks_1_6_0]
changedir = integration_test_project
deps = dbt-databricks~=1.6.0
commands =
dbt clean
dbt deps
dbt build --target databricks

# Bigquery integration tests
[testenv:integration_bigquery]
changedir = integration_test_project
deps = dbt-bigquery~=1.4.0
deps = dbt-bigquery~=1.6.0
commands =
dbt clean
dbt deps
Expand Down Expand Up @@ -217,6 +233,14 @@ commands =
dbt deps
dbt build --target bigquery --vars '"my_var": "my value"'

[testenv:integration_bigquery_1_6_0]
changedir = integration_test_project
deps = dbt-bigquery~=1.6.0
commands =
dbt clean
dbt deps
dbt build --target bigquery --vars '"my_var": "my value"'

# Spark integration test (disabled)
[testenv:integration_spark]
changedir = integration_test_project
Expand Down

0 comments on commit 8910738

Please sign in to comment.