Skip to content

Commit fc0a12f

Browse files
committed
chore(cicd): Add multiple Airflow versions to testing pipeline
1 parent e92f030 commit fc0a12f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: [3.7, 3.8, 3.9]
17+
airflow-version: ['1.10.12', '2.0.2', '2.2.2']
1718
runs-on: ubuntu-latest
1819
steps:
1920
- uses: actions/checkout@v2
@@ -25,8 +26,10 @@ jobs:
2526
uses: abatilo/actions-poetry@v2.1.4
2627
with:
2728
poetry-version: 1.1.12
29+
- name: Install Airflow ${{ matrix.airflow-version }}
30+
run: python -m pip install apache-airflow==${{ matrix.airflow-version }}
2831
- name: Install airflow-dbt-python with Poetry
29-
run: poetry install -E amazon -E postgres -E airflow
32+
run: poetry install -E amazon -E postgres
3033
- name: Style guide enforcement with flake8
3134
run: poetry run flake8 .
3235
- name: Static type checking with mypy

0 commit comments

Comments
 (0)