File tree Expand file tree Collapse file tree 6 files changed +18
-4
lines changed
Expand file tree Collapse file tree 6 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -189,3 +189,8 @@ runs:
189189 run : |
190190 echo "$KNITRO_LICENSE" > ${HOME}/artelys_lic.txt
191191 echo "ARTELYS_LICENSE=${HOME}/artelys_lic.txt" >> $GITHUB_ENV
192+ - name : Install KNITRO (using pip)
193+ if : ${{ inputs.KNITRO_LICENSE != '' }}
194+ shell : bash
195+ run : |
196+ python -m pip install knitro
Original file line number Diff line number Diff line change @@ -187,3 +187,8 @@ runs:
187187 run : |
188188 echo "$KNITRO_LICENSE" > ~/artelys_lic.txt
189189 echo "ARTELYS_LICENSE=${HOME}/artelys_lic.txt" >> $GITHUB_ENV
190+ - name : Install KNITRO (using pip)
191+ if : ${{ inputs.KNITRO_LICENSE != '' }}
192+ shell : bash
193+ run : |
194+ python -m pip install knitro
Original file line number Diff line number Diff line change @@ -159,3 +159,8 @@ runs:
159159 # setup license using secrets
160160 echo $env:KNITRO_LICENSE > D:\artelys_lic.txt
161161 echo "ARTELYS_LICENSE=D:\artelys_lic.txt" >> $env:GITHUB_ENV
162+ - name : Install KNITRO (using pip)
163+ if : ${{ inputs.KNITRO_LICENSE != '' }}
164+ shell : pwsh
165+ run : |
166+ python -m pip install knitro
Original file line number Diff line number Diff line change 5252
5353 - name : Test
5454 run : |
55- export ARTELYS_LICENSE_DEBUG=1
56- python -m pip install pytest numpy scipy highsbox llvmlite tccbox knitro
55+ python -m pip install pytest numpy scipy highsbox llvmlite tccbox
5756 python -m pytest tests -v
5857
5958 - name : Upload artifact
Original file line number Diff line number Diff line change 4949
5050 - name : Test
5151 run : |
52- python -m pip install pytest numpy scipy highsbox llvmlite tccbox knitro
52+ python -m pip install pytest numpy scipy highsbox llvmlite tccbox
5353 python -m pytest tests -k "highs or ipopt" -v
5454
5555 - name : Upload artifact
Original file line number Diff line number Diff line change 4949
5050 - name : Test
5151 run : |
52- python -m pip install pytest numpy scipy highsbox llvmlite tccbox knitro
52+ python -m pip install pytest numpy scipy highsbox llvmlite tccbox
5353 python -m pytest tests -v
5454
5555 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments