Skip to content

Commit

Permalink
test-warehouse: pin databricks connector version (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
haritamar authored Nov 29, 2023
1 parent 6cf5275 commit b8cd274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-warehouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ jobs:
if: inputs.warehouse-type == 'spark'
run: sudo apt-get install python-dev libsasl2-dev gcc

- name: Install compatible databricks connector (not limited in older dbt-databricks versions)
if: startsWith(inputs.warehouse-type, 'databricks') && inputs.dbt-version < '1.7.0'
run: pip install databricks-sql-connector==2.9.3

- name: Install dbt
run:
pip install${{ (inputs.dbt-version == 'latest_pre' && ' --pre') || '' }}
Expand Down

0 comments on commit b8cd274

Please sign in to comment.