Skip to content

Commit 60f41f0

Browse files
committed
Fix issue in CI testing where MATLAB was not running Legacy tests.
1 parent 677d424 commit 60f41f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/continuous-integration.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ jobs:
115115
116116
- name: Include MP-Core?
117117
run: |
118-
export HAVE_MP_CORE=`$ML_CMD "fprintf('%d', have_feature('mp_core'))"`
119-
export INCLUDE_MP_CORE=${HAVE_MP_CORE: -1}
118+
export HAVE_MP_CORE=`$ML_CMD "fprintf('%d\n', have_feature('mp_core'))"`
119+
echo "HAVE_MP_CORE=${HAVE_MP_CORE}"
120+
export INCLUDE_MP_CORE=$(echo "$HAVE_MP_CORE" | grep -o '[01]' | tail -n 1)
121+
echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}"
120122
echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}" >> $GITHUB_ENV
121123
122124
- name: Test GLPK availability, print version number

0 commit comments

Comments
 (0)