From 2c534cbe7da8c467800d0ed02cd18482db42f6fb Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Mon, 4 Nov 2024 13:35:26 +0100 Subject: [PATCH] Updated test matrix --- .github/workflows/modoboa.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index eea0bdbab..fad858e79 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -72,7 +72,7 @@ jobs: strategy: matrix: database: ['postgres', 'mysql'] - python-version: [3.8, 3.9, '3.10', '3.11'] + python-version: [3.9, '3.10', '3.11', '3.12', '3.13'] fail-fast: false steps: @@ -109,7 +109,7 @@ jobs: pip install -r mysql-requirements.txt echo "DB=mysql" >> $GITHUB_ENV - name: Test with pytest - if: ${{ matrix.python-version != '3.11' || matrix.database != 'postgres' }} + if: ${{ matrix.python-version != '3.13' || matrix.database != 'postgres' }} run: | python ./tests.py cd test_project @@ -127,7 +127,7 @@ jobs: OIDC_RSA_PRIVATE_KEY: ${{ vars.OIDC_RSA_PRIVATE_KEY }} - name: Test with pytest and coverage - if: ${{ matrix.python-version == '3.11' && matrix.database == 'postgres' }} + if: ${{ matrix.python-version == '3.13' && matrix.database == 'postgres' }} run: | python ./tests.py cd test_project @@ -182,10 +182,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python 3.11 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' - name: Build frontend shell: bash -l {0} run: |