Skip to content

Commit

Permalink
Clear PATH before 2D-model test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR authored and iakov committed Dec 25, 2024
1 parent 2c0f588 commit ad9444f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad9444f

Please sign in to comment.