@@ -21,11 +21,11 @@ jobs:
21
21
runs-on : ${{ matrix.os }}
22
22
strategy :
23
23
matrix :
24
- python-version : ['3.9 ', '3.10 ', '3.11 ']
24
+ python-version : ['3.11 ', '3.12 ', '3.13 ']
25
25
os : [ubuntu-latest, windows-latest]
26
26
exclude :
27
27
- os : windows-latest
28
- python-version : ' 3.9 '
28
+ python-version : ' 3.11 '
29
29
30
30
steps :
31
31
- uses : actions/checkout@v2
@@ -45,33 +45,33 @@ jobs:
45
45
pip3 install -r requirements.txt --use-deprecated=legacy-resolver
46
46
pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver
47
47
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 '
50
50
run : |
51
51
pip3 install -U python-dotenv
52
52
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'
55
55
run : |
56
56
pip3 install -U python-dotenv
57
57
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'
60
60
run : |
61
61
pip3 install -U python-dotenv
62
62
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'
65
65
run : |
66
66
pip3 install -U python-dotenv
67
67
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'
70
70
run : |
71
71
pip3 install -U python-dotenv
72
72
py.test test/unit --reruns 3
73
73
- 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'
75
75
uses : codecov/codecov-action@v1
76
76
with :
77
77
name : py${{ matrix.python-version }}-${{ matrix.os }}
0 commit comments