From 5ded344821145f0fc3ab46f791440e01e2a1a8ac Mon Sep 17 00:00:00 2001 From: Justin Bandoro <79104794+jbandoro@users.noreply.github.com> Date: Wed, 31 Jan 2024 04:47:52 -0800 Subject: [PATCH] Exclude unsupported Airflow versions for Python 3.11 tests (#824) 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. --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74c3524d5..5adcc3ac5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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