Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,12 @@ jobs:
echo "DBT version is ${{ matrix.dbt-version }} (>= 1.6.0), keeping semantic_models and metrics sections"
fi

make dbt-fast-test
# dbt 1.6 installs without web/lsp (pydantic conflict); skip collecting those tests
if [[ "${{ matrix.dbt-version }}" == "1.6" ]]; then
pytest -n auto -m "dbt and fast" --reruns 3 --ignore=tests/lsp --ignore=tests/web
else
make dbt-fast-test
fi
- name: Test SQLMesh info in sushi_dbt
working-directory: ./examples/sushi_dbt
run: |
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ install-dev-dbt-%:
echo "Applying numpy<2 constraint for dbt $$version"; \
$(SED_INPLACE) 's/"numpy"/"numpy<2"/g' pyproject.toml; \
fi; \
$(MAKE) install-dev; \
if [ "$$version" = "1.6.0" ]; then \
echo "Installing without web/lsp for dbt 1.6.0 (fastapi>=0.136 needs pydantic v2; dbt 1.6 needs pydantic v1)"; \
$(PIP) install -e ".[dev,slack,dlt]" ./examples/custom_materializations; \
else \
$(MAKE) install-dev; \
fi; \
if [ "$$version" = "1.6.0" ]; then \
echo "Applying overrides for dbt 1.6.0"; \
$(PIP) install 'pydantic>=2.0.0' 'google-cloud-bigquery==3.30.0' 'databricks-sdk==0.28.0' \
Expand Down
Loading