Skip to content

Commit

Permalink
dbt-core v1.5.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
ciklista committed Jul 20, 2023
1 parent c749c72 commit 9650a07
Show file tree
Hide file tree
Showing 27 changed files with 333 additions and 379 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.10']
dbt-version: [0.18.x, 0.19.x, 1.1.x, 1.4.x]
exclude:
- python-version: '3.10'
dbt-version: 0.18.x
- python-version: '3.10'
dbt-version: 0.19.x
- python-version: '3.7'
dbt-version: 1.1.x
- python-version: '3.7'
dbt-version: 1.4.x
python-version: ['3.8', '3.10']
dbt-version: [1.5.x]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -51,17 +43,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements_dbt_${{ matrix.dbt-version }}.txt
# There is more than one target in profiles.yml because
# dbt-sqlite for dbt~=0.18.x uses a different format than other
# versions.
- name: Run tests for dbt~=0.18.x
if: ${{ matrix.dbt-version == '0.18.x' }}
env:
TARGET: ${{ matrix.dbt-version }}
run: |
python tests/test.py
- name: Run tests for other dbt versions
if: ${{ matrix.dbt-version != '0.18.x' }}
env:
TARGET: default
run: |
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,7 @@ dmypy.json
.pytype/

# Cython debug symbols
cython_debug/
cython_debug/

# testing stuff
dbt_invoke/test_run.py
Binary file added dbt.duckdb
Binary file not shown.
Loading

0 comments on commit 9650a07

Please sign in to comment.