diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4849b2f4..6d1df9d4 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -21,11 +21,11 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.11', '3.12', '3.13'] os: [ubuntu-latest, windows-latest] exclude: - os: windows-latest - python-version: '3.9' + python-version: '3.11' steps: - uses: actions/checkout@v2 @@ -45,33 +45,33 @@ jobs: pip3 install -r requirements.txt --use-deprecated=legacy-resolver pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver pip3 install --editable . --use-deprecated=legacy-resolver - - name: Execute Python 3.9 unit tests - if: matrix.python-version == '3.9' + - name: Execute Python 3.11 unit tests + if: matrix.python-version == '3.11' run: | pip3 install -U python-dotenv py.test test/unit - - name: Execute Python 3.10 unit tests (windows) - if: matrix.python-version == '3.10' && matrix.os == 'windows-latest' + - name: Execute Python 3.12 unit tests (windows) + if: matrix.python-version == '3.12' && matrix.os == 'windows-latest' run: | pip3 install -U python-dotenv py.test test/unit --reruns 3 - - name: Execute Python 3.10 unit tests (ubuntu) - if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' + - name: Execute Python 3.12 unit tests (ubuntu) + if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' run: | pip3 install -U python-dotenv py.test test/unit --reruns 3 --cov=ibm_watson - - name: Execute Python 3.11 unit tests (windows) - if: matrix.python-version == '3.11' && matrix.os == 'windows-latest' + - name: Execute Python 3.13 unit tests (windows) + if: matrix.python-version == '3.13' && matrix.os == 'windows-latest' run: | pip3 install -U python-dotenv py.test test/unit --reruns 3 - - name: Execute Python 3.11 unit tests (ubuntu) - if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' + - name: Execute Python 3.13 unit tests (ubuntu) + if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest' run: | pip3 install -U python-dotenv py.test test/unit --reruns 3 - name: Upload coverage to Codecov - if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' + if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v1 with: name: py${{ matrix.python-version }}-${{ matrix.os }}