From e4962bfb4bde9d7aa1095a4ab8b121ab246c2640 Mon Sep 17 00:00:00 2001 From: Yasuhisa Yoshida Date: Thu, 16 May 2024 13:44:36 +0900 Subject: [PATCH] Modify to test with multiple versions of dbt-core (#150) --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8d1b1ee..bc6d9c9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,11 @@ jobs: tests: name: Run pytest runs-on: ubuntu-latest + + strategy: + matrix: + dbt-version: ["1.6.0", "1.7.0"] + steps: - name: Check out the repository uses: actions/checkout@v4.1.1 @@ -27,6 +32,10 @@ jobs: pip install --constraint=.github/workflows/constraints.txt poetry poetry --version + - name: Install dbt-core + run: | + poetry add dbt-core==${{ matrix.dbt-version }} + - name: Install required packages run: | # install duckdb extras to be able to parse manifest poetry install -E duckdb