Skip to content

Commit

Permalink
Exclude unsupported Airflow versions for Python 3.11 tests (#824)
Browse files Browse the repository at this point in the history
After #821 was added, tests in the matrix like [this
one](https://github.com/astronomer/astronomer-cosmos/actions/runs/7717880587/job/21037953569)
for Airflow v2.3 and Python 3.11 are failing because the minimum Airflow
version supported for 3.11 is v2.5.

This PR excludes Airflow v2.3 and 2.4 from the testing matrix for 3.11.
  • Loading branch information
jbandoro authored Jan 31, 2024
1 parent 6c9c875 commit 7e02151
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]
exclude:
- python-version: "3.11"
airflow-version: "2.3"
- python-version: "3.11"
airflow-version: "2.4"
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -81,6 +86,11 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]
exclude:
- python-version: "3.11"
airflow-version: "2.3"
- python-version: "3.11"
airflow-version: "2.4"
services:
postgres:
image: postgres
Expand Down

0 comments on commit 7e02151

Please sign in to comment.