Skip to content

Commit 04d729e

Browse files
committed
CI: detect errors from set-...-test-matrix scripts
1 parent 9b228b1 commit 04d729e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/os-blas-test-matrix.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ jobs:
171171
name: slycot-wheels
172172
path: slycot-wheels
173173
- id: set-matrix
174-
run: echo "matrix=$(python3 .github/scripts/set-pip-test-matrix.py)" >> $GITHUB_OUTPUT
174+
run: |
175+
TEMPFILE="$(mktemp)"
176+
python3 .github/scripts/set-pip-test-matrix.py | tee $TEMPFILE
177+
echo "matrix=(cat $TEMPFILE)" >> $GITHUB_OUTPUT
175178
176179
177180
create-conda-test-matrix:
@@ -195,7 +198,10 @@ jobs:
195198
name: slycot-conda-pkgs
196199
path: slycot-conda-pkgs
197200
- id: set-matrix
198-
run: echo "matrix=$(python3 .github/scripts/set-conda-test-matrix.py)" >> $GITHUB_OUTPUT
201+
run: |
202+
TEMPFILE="$(mktemp)"
203+
python3 .github/scripts/set-conda-test-matrix.py | tee $TEMPFILE
204+
echo "matrix=$(cat TEMPFILE)" >> $GITHUB_OUTPUT
199205
200206
201207
test-wheel:

0 commit comments

Comments
 (0)