14
14
matrix :
15
15
packageDirectory : ["ml_wrappers"]
16
16
operatingSystem : [ubuntu-latest, macos-latest, windows-latest]
17
- pythonVersion : ['3.9', '3.10']
17
+ pythonVersion : ['3.9', '3.10', '3.11' ]
18
18
openaiVersion : ['0.28.1', 'openai-latest']
19
19
exclude :
20
20
- openaiVersion : ' 0.28.1'
@@ -42,22 +42,22 @@ jobs:
42
42
brew install libomp
43
43
44
44
- if : ${{ matrix.operatingSystem == 'windows-latest' }}
45
- name : Install pytorch on windows for python 3.8 to 3.10
45
+ name : Install pytorch on windows for python 3.9 to 3.11
46
46
shell : bash -l {0}
47
47
run : |
48
- conda install --yes --quiet " pytorch<2.0.0" torchvision captum cpuonly "libtiff<4.5.0" -c pytorch -c conda-forge --strict-channel-priority
48
+ conda install --yes --quiet pytorch torchvision captum cpuonly "libtiff<4.5.0" -c pytorch -c conda-forge --strict-channel-priority
49
49
50
50
- if : ${{ matrix.operatingSystem == 'ubuntu-latest' }}
51
- name : Install pytorch on ubuntu for python 3.8 to 3.10
51
+ name : Install pytorch on ubuntu for python 3.9 to 3.11
52
52
shell : bash -l {0}
53
53
run : |
54
- conda install --yes --quiet " pytorch<2.0.0" torchvision captum cpuonly -c pytorch -c conda-forge --strict-channel-priority
54
+ conda install --yes --quiet pytorch torchvision captum cpuonly -c pytorch -c conda-forge --strict-channel-priority
55
55
56
56
- if : ${{ matrix.operatingSystem == 'macos-latest' }}
57
- name : Install pytorch on MacOS for python 3.8 to 3.10
57
+ name : Install pytorch on MacOS for python 3.9 to 3.11
58
58
shell : bash -l {0}
59
59
run : |
60
- conda install --yes --quiet " pytorch<2.0.0" torchvision captum -c pytorch -c conda-forge --strict-channel-priority
60
+ conda install --yes --quiet pytorch torchvision captum -c pytorch -c conda-forge --strict-channel-priority
61
61
62
62
- if : ${{ matrix.operatingSystem == 'macos-latest' }}
63
63
name : Install lightgbm from conda on MacOS
@@ -104,7 +104,7 @@ jobs:
104
104
# Use always() to always run this step to publish test results when there are test failures
105
105
if : ${{ always() }}
106
106
107
- - if : ${{ (matrix.operatingSystem == 'windows-latest') && (matrix.pythonVersion == '3.8 ') }}
107
+ - if : ${{ (matrix.operatingSystem == 'windows-latest') && (matrix.pythonVersion == '3.9 ') }}
108
108
name : Upload to codecov
109
109
id : codecovupload1
110
110
uses : codecov/codecov-action@v3
@@ -118,7 +118,7 @@ jobs:
118
118
name : codecov-umbrella
119
119
verbose : true
120
120
121
- - if : ${{ (steps.codecovupload1.outcome == 'failure') && (matrix.pythonVersion == '3.8 ') && (matrix.operatingSystem == 'windows-latest') }}
121
+ - if : ${{ (steps.codecovupload1.outcome == 'failure') && (matrix.pythonVersion == '3.9 ') && (matrix.operatingSystem == 'windows-latest') }}
122
122
name : Retry upload to codecov
123
123
id : codecovupload2
124
124
uses : codecov/codecov-action@v3
@@ -133,7 +133,7 @@ jobs:
133
133
verbose : true
134
134
135
135
- name : Set codecov status
136
- if : ${{ (matrix.pythonVersion == '3.8 ') && (matrix.operatingSystem == 'windows-latest') }}
136
+ if : ${{ (matrix.pythonVersion == '3.9 ') && (matrix.operatingSystem == 'windows-latest') }}
137
137
shell : bash
138
138
run : |
139
139
if ${{ (steps.codecovupload1.outcome == 'success') || (steps.codecovupload2.outcome == 'success') }} ; then
0 commit comments