Skip to content

add dbt core version to matrix strategy #47

add dbt core version to matrix strategy

add dbt core version to matrix strategy #47

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
dbt_core: ["1.3.*", "1.4.*", "1.5.*", "1.6.*"]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: "3.10"
architecture: x64
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.0
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install
chmod +x ./run
./run setup
pip install -U "dbt-core==${ DBT_CORE_VERSION }"
env:
DBT_CORE_VERSION: ${{ matrix.dbt_core }}
- name: Lint
run: ./run lint
- name: Test
run: ./run test