Skip to content

Commit 79245df

Browse files
committed
feat: widen dbt-core compatibility range
1 parent 5c252f3 commit 79245df

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/pr.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,32 @@ jobs:
6666
name: playwright-report
6767
path: vscode/extension/playwright-report/
6868
retention-days: 30
69+
test-dbt-versions:
70+
runs-on: ubuntu-latest
71+
strategy:
72+
matrix:
73+
dbt-version: ["1.3.0", "1.4.0", "1.5.0", "1.6.0", "1.7.0", "1.8.0", "1.9.0", "1.10.0"]
74+
steps:
75+
- uses: actions/checkout@v5
76+
- name: Set up Python
77+
uses: actions/setup-python@v5
78+
with:
79+
python-version: '3.10'
80+
- name: Install SQLMesh dev dependencies
81+
run: |
82+
python -m venv .venv
83+
source .venv/bin/activate
84+
make install-dev
85+
- name: Install dbt-core version
86+
run: |
87+
source .venv/bin/activate
88+
pip install "dbt-core~=${{ matrix.dbt-version }}"
89+
- name: Run dbt tests
90+
run: |
91+
source .venv/bin/activate
92+
make dbt-test
93+
- name: Test SQLMesh info in sushi_dbt
94+
working-directory: ./examples/sushi_dbt
95+
run: |
96+
source ../../.venv/bin/activate
97+
sqlmesh info --skip-connection

0 commit comments

Comments
 (0)