Skip to content

Commit 5a0f046

Browse files
build(actions): update tested python versions
1 parent af0ef69 commit 5a0f046

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build-test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
runs-on: ${{ matrix.os }}
2222
strategy:
2323
matrix:
24-
python-version: ['3.9', '3.10', '3.11']
24+
python-version: ['3.11', '3.12', '3.13']
2525
os: [ubuntu-latest, windows-latest]
2626
exclude:
2727
- os: windows-latest
28-
python-version: '3.9'
28+
python-version: '3.11'
2929

3030
steps:
3131
- uses: actions/checkout@v2
@@ -45,33 +45,33 @@ jobs:
4545
pip3 install -r requirements.txt --use-deprecated=legacy-resolver
4646
pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver
4747
pip3 install --editable . --use-deprecated=legacy-resolver
48-
- name: Execute Python 3.9 unit tests
49-
if: matrix.python-version == '3.9'
48+
- name: Execute Python 3.11 unit tests
49+
if: matrix.python-version == '3.11'
5050
run: |
5151
pip3 install -U python-dotenv
5252
py.test test/unit
53-
- name: Execute Python 3.10 unit tests (windows)
54-
if: matrix.python-version == '3.10' && matrix.os == 'windows-latest'
53+
- name: Execute Python 3.12 unit tests (windows)
54+
if: matrix.python-version == '3.12' && matrix.os == 'windows-latest'
5555
run: |
5656
pip3 install -U python-dotenv
5757
py.test test/unit --reruns 3
58-
- name: Execute Python 3.10 unit tests (ubuntu)
59-
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
58+
- name: Execute Python 3.12 unit tests (ubuntu)
59+
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
6060
run: |
6161
pip3 install -U python-dotenv
6262
py.test test/unit --reruns 3 --cov=ibm_watson
63-
- name: Execute Python 3.11 unit tests (windows)
64-
if: matrix.python-version == '3.11' && matrix.os == 'windows-latest'
63+
- name: Execute Python 3.13 unit tests (windows)
64+
if: matrix.python-version == '3.13' && matrix.os == 'windows-latest'
6565
run: |
6666
pip3 install -U python-dotenv
6767
py.test test/unit --reruns 3
68-
- name: Execute Python 3.11 unit tests (ubuntu)
69-
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
68+
- name: Execute Python 3.13 unit tests (ubuntu)
69+
if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
7070
run: |
7171
pip3 install -U python-dotenv
7272
py.test test/unit --reruns 3
7373
- name: Upload coverage to Codecov
74-
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
74+
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
7575
uses: codecov/codecov-action@v1
7676
with:
7777
name: py${{ matrix.python-version }}-${{ matrix.os }}

0 commit comments

Comments
 (0)