diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 36c2fa3936..4793a4f7fe 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -135,28 +135,28 @@ jobs: - name: Run minimal JavaScript interpeter tests in direct script mode run: | - for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$TWOD_EXEC_NAME" --generate-path "$i".js --generate-mode javascript --close \ - -s 5 --script-path "$i".js -m script "$i"; done + PATH="" $SHELL -c 'for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$TWOD_EXEC_NAME" --generate-path "$i".js --generate-mode javascript --close \ + -s 5 --script-path "$i".js -m script "$i"; done' if: ${{ !startsWith(inputs.os, 'macos') }} timeout-minutes: 15 - name: Run minimal Python interpeter tests in direct script mode run: | - for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$TWOD_EXEC_NAME" --generate-path "$i".py \ - --close -s 5 --script-path "$i".py -m script "$i"; done + PATH="" $SHELL -c 'for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$TWOD_EXEC_NAME" --generate-path "$i".py \ + --close -s 5 --script-path "$i".py -m script "$i"; done' if: ${{ !startsWith(inputs.os, 'macos') }} timeout-minutes: 15 - name: Run minimal Javascript interpeter tests as fields in .qrs (For backward compatibility) run: | - for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".js "$i" \ - && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done + PATH="" $SHELL -c 'for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".js "$i" \ + && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done' if: ${{ !startsWith(inputs.os, 'macos') }} timeout-minutes: 5 - name: Run minimal Python interpeter tests as fields in .qrs (For backward compatibility) run: | - for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".py "$i" \ - && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done + PATH="" $SHELL -c 'for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".py "$i" \ + && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done' if: ${{ !startsWith(inputs.os, 'macos') }} timeout-minutes: 5