Skip to content

Commit a102e94

Browse files
committed
Fix logic to install python packages for nosolvers builds
1 parent c75ddfc commit a102e94

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test_branches.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
echo "GHA_JOBGROUP=other" >> $GITHUB_ENV
170170
fi
171171
EXTRAS=tests
172-
if test -z "${{matrix.slim}}" -o "${{matrix.slim}}" -eq 1; then
172+
if test -z "${{matrix.slim}}" -o "${{matrix.slim}}" = 1; then
173173
EXTRAS="$EXTRAS,docs,optional"
174174
fi
175175
echo "EXTRAS=$EXTRAS" >> $GITHUB_ENV
@@ -195,7 +195,7 @@ jobs:
195195

196196
- name: TPL package download cache
197197
uses: actions/cache@v5
198-
if: ${{ ! matrix.slim || matrix.slim == 1 }}
198+
if: ${{ ! matrix.slim }}
199199
id: download-cache
200200
with:
201201
path: cache/download

.github/workflows/test_pr_and_main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
echo "GHA_JOBGROUP=other" >> $GITHUB_ENV
223223
fi
224224
EXTRAS=tests
225-
if test -z "${{matrix.slim}}" -o "${{matrix.slim}}" -eq 1; then
225+
if test -z "${{matrix.slim}}" -o "${{matrix.slim}}" = 1; then
226226
EXTRAS="$EXTRAS,docs,optional"
227227
fi
228228
echo "EXTRAS=$EXTRAS" >> $GITHUB_ENV
@@ -248,7 +248,7 @@ jobs:
248248

249249
- name: TPL package download cache
250250
uses: actions/cache@v5
251-
if: ${{ ! matrix.slim || matrix.slim == 1 }}
251+
if: ${{ ! matrix.slim }}
252252
id: download-cache
253253
with:
254254
path: cache/download

0 commit comments

Comments
 (0)