Skip to content

Commit 1429c03

Browse files
committed
Run test with Airflow version to 3.2.2
1 parent abedab0 commit 1429c03

2 files changed

Lines changed: 8 additions & 21 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ jobs:
3232
strategy:
3333
matrix:
3434
python-version:
35-
- "3.12"
35+
- "3.13"
3636
airflow:
37-
- "2.10.0"
38-
39-
env:
40-
AIRFLOW_HOME: ./scripts/airflow
37+
- "3.2.2"
4138

4239
steps:
4340
- name: Checkout code
@@ -65,10 +62,9 @@ jobs:
6562
python -m pip install --upgrade setuptools wheel
6663
6764
- name: Prepare environment
68-
env:
69-
AIRFLOW_VERSION: ${{ matrix.airflow }}
7065
run: |
71-
bash ./scripts/prepare.sh
66+
python -m pip install apache-airflow==${{ matrix.airflow }} pytest
67+
python -m pip install -r requirements.txt
7268
pip freeze
7369
7470
- name: Build package

.github/workflows/tests.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,12 @@ jobs:
1111
strategy:
1212
matrix:
1313
python:
14-
- "3.9"
15-
- "3.10"
16-
- "3.11"
17-
- "3.12"
14+
- "3.13"
1815
airflow:
19-
- "2.10.5"
16+
- "3.2.2"
2017

2118
runs-on: ubuntu-latest
2219

23-
env:
24-
AIRFLOW_HOME: ./scripts/airflow
25-
AIRFLOW_VERSION: ${{ matrix.airflow }}
26-
2720
steps:
2821
- name: Checkout
2922
uses: actions/checkout@v4
@@ -49,17 +42,15 @@ jobs:
4942
run: |
5043
python -m pip install --upgrade pip
5144
python -m pip install --upgrade setuptools wheel
52-
python -m pip install pytest
5345
5446
- name: Install environment
5547
run: |
56-
bash ./scripts/prepare.sh
57-
bash ./scripts/install.sh
48+
python -m pip install apache-airflow==${{ matrix.airflow }} pytest
49+
python -m pip install -r requirements.txt
5850
pip freeze
5951
6052
- name: Run tests
6153
run: |
62-
source ./scripts/config.sh
6354
git config --global user.email "dev@example.com"
6455
git config --global user.name "Test"
6556
pytest tests

0 commit comments

Comments
 (0)