From ddfcc782ded460b019c1e004b651d5686c9208c7 Mon Sep 17 00:00:00 2001 From: Ravi Kakadia Date: Fri, 4 Sep 2026 15:27:33 -0700 Subject: [PATCH] ci: add dbt 1.12 to test matrix Signed-off-by: Ravi Kakadia --- .github/workflows/pr.yaml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 52a561985d..3a49941490 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -457,7 +457,7 @@ jobs: strategy: fail-fast: false matrix: - dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10'] + dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', '1.12'] steps: - uses: actions/checkout@v7 - name: Set up Python diff --git a/Makefile b/Makefile index 3edd6066ef..e4413cb4cb 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,8 @@ install-dev-dbt-%: echo "Installing dbt version: $$version"; \ cp pyproject.toml pyproject.toml.backup; \ $(SED_INPLACE) 's/"pydantic>=2.0.0"/"pydantic"/g' pyproject.toml; \ - if [ "$$version" = "1.10.0" ]; then \ - echo "Applying special handling for dbt 1.10.0"; \ + if [ "$$version" = "1.10.0" ] || [ "$$version" = "1.12.0" ]; then \ + echo "Applying special handling for dbt $$version"; \ $(SED_INPLACE) -E 's/"(dbt-core)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \ $(SED_INPLACE) -E 's/"(dbt-(bigquery|duckdb|snowflake|athena-community|clickhouse|redshift|trino))[^"]*"/"\1"/g' pyproject.toml; \ $(SED_INPLACE) -E 's/"(dbt-databricks)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \