Skip to content

Commit 423afb1

Browse files
committed
Fix logic error
1 parent 4814eeb commit 423afb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ jobs:
270270
- name: run cpython tests to check if env polluters have stopped polluting
271271
shell: bash
272272
run: |
273-
for thing in "${TESTS}"; do
273+
while IFS= read -r thing; do
274274
for i in $(seq 1 10); do
275275
set +e
276276
target/release/rustpython -m test -j 1 --slowest --fail-env-changed --timeout 600 -v "${thing}"
@@ -291,9 +291,9 @@ jobs:
291291
fi
292292
exit 1
293293
fi
294-
done
294+
done <<< "$TESTS"
295295
env:
296-
TESTS: ${{ join(matrix.env_polluting_tests, ' ') }}
296+
TESTS: ${{ join(matrix.env_polluting_tests, '\n') }}
297297
timeout-minutes: 15
298298

299299
- if: runner.os != 'Windows'

0 commit comments

Comments
 (0)