This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch previous_python
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 459b65c9399ebb337d6a61fac099239ce92c5e0a
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Thu May 9 18:56:17 2024 -0700

    fix: run some CI tests against previous python version
    
    As currently python3.10 is our main version, we do run a bit of CI (not
    the full matrix) against 3.11.
    
    This is introducing doing the same for 3.9 as we do for 3.11. Check
    isn't required, but should show as failed and inform something broke 3.9
    support
---
 .github/actions/setup-backend/action.yml              | 2 ++
 .github/workflows/superset-python-integrationtest.yml | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/actions/setup-backend/action.yml 
b/.github/actions/setup-backend/action.yml
index 4f97916dbe..565b02900f 100644
--- a/.github/actions/setup-backend/action.yml
+++ b/.github/actions/setup-backend/action.yml
@@ -29,6 +29,8 @@ runs:
           echo "PYTHON_VERSION=3.10" >> $GITHUB_ENV
         elif [ "${{ inputs.python-version }}" = "next" ]; then
           echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
+        elif [ "${{ inputs.python-version }}" = "previous" ]; then
+          echo "PYTHON_VERSION=3.9" >> $GITHUB_ENV
         else
           echo "PYTHON_VERSION=${{ inputs.python-version }}" >> $GITHUB_ENV
         fi
diff --git a/.github/workflows/superset-python-integrationtest.yml 
b/.github/workflows/superset-python-integrationtest.yml
index fef8c86d4b..fec35ef9db 100644
--- a/.github/workflows/superset-python-integrationtest.yml
+++ b/.github/workflows/superset-python-integrationtest.yml
@@ -75,7 +75,7 @@ jobs:
     runs-on: ubuntu-20.04
     strategy:
       matrix:
-        python-version: ["current", "next"]
+        python-version: ["current", "next", "previous"]
     env:
       PYTHONPATH: ${{ github.workspace }}
       SUPERSET_CONFIG: tests.integration_tests.superset_test_config

Reply via email to