Skip to content

Commit 686b859

Browse files
committed
fix(pr): test ignores lsp and web for dbt 1.6
Signed-off-by: Cortland Goffena <30168413+cmgoffena13@users.noreply.github.com>
1 parent 40703d2 commit 686b859

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pr.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,12 @@ jobs:
514514
echo "DBT version is ${{ matrix.dbt-version }} (>= 1.6.0), keeping semantic_models and metrics sections"
515515
fi
516516
517-
make dbt-fast-test
517+
# dbt 1.6 installs without web/lsp (pydantic conflict); skip collecting those tests
518+
if [[ "${{ matrix.dbt-version }}" == "1.6" ]]; then
519+
pytest -n auto -m "dbt and fast" --reruns 3 --ignore=tests/lsp --ignore=tests/web
520+
else
521+
make dbt-fast-test
522+
fi
518523
- name: Test SQLMesh info in sushi_dbt
519524
working-directory: ./examples/sushi_dbt
520525
run: |

0 commit comments

Comments
 (0)