Skip to content

Commit ebb1b23

Browse files
committed
debug license knitro
1 parent 21dcb4a commit ebb1b23

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/actions/setup_optimizers_linux/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,5 @@ runs:
187187
env:
188188
KNITRO_LICENSE: ${{ inputs.KNITRO_LICENSE }}
189189
run: |
190-
echo "$KNITRO_LICENSE" > ~/artelys.lic
191-
echo "ARTELYS_LICENSE=${HOME}/artelys.lic" >> $GITHUB_ENV
190+
echo "$KNITRO_LICENSE" > ~/artelys_lic.txt
191+
echo "ARTELYS_LICENSE=${HOME}/artelys_lic.txt" >> $GITHUB_ENV

.github/actions/setup_optimizers_macos/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,5 @@ runs:
185185
env:
186186
KNITRO_LICENSE: ${{ inputs.KNITRO_LICENSE }}
187187
run: |
188-
echo "$KNITRO_LICENSE" > ~/artelys.lic
189-
echo "ARTELYS_LICENSE=${HOME}/artelys.lic" >> $GITHUB_ENV
188+
echo "$KNITRO_LICENSE" > ~/artelys_lic.txt
189+
echo "ARTELYS_LICENSE=${HOME}/artelys_lic.txt" >> $GITHUB_ENV

.github/actions/setup_optimizers_windows/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ runs:
157157
KNITRO_LICENSE: ${{ inputs.KNITRO_LICENSE }}
158158
run: |
159159
# setup license using secrets
160-
echo $env:KNITRO_LICENSE > D:\artelys.lic
161-
echo "ARTELYS_LICENSE=D:\artelys.lic" >> $env:GITHUB_ENV
160+
echo $env:KNITRO_LICENSE > D:\artelys_lic.txt
161+
echo "ARTELYS_LICENSE=D:\artelys_lic.txt" >> $env:GITHUB_ENV

.github/workflows/linux-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
5353
- name: Test
5454
run: |
55+
export ARTELYS_LICENSE_DEBUG=1
5556
python -m pip install pytest numpy scipy highsbox llvmlite tccbox knitro
5657
python -m pytest tests -v
5758

0 commit comments

Comments
 (0)