Skip to content

Commit 0554f7e

Browse files
committed
Fix working directory for test execution in SGX compilation workflow
1 parent cb749b6 commit 0554f7e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/compilation_on_sgx.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,11 @@ jobs:
289289
- name: run spec tests with retry
290290
uses: nick-fields/retry@v3
291291
with:
292-
timeout_minutes: 5
292+
command: |
293+
cd ./tests/wamr-test-suites
294+
&& source /opt/intel/sgxsdk/environment
295+
&& ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
293296
max_attempts: 3
297+
retry_on: error
294298
shell: bash
295-
command: |
296-
source /opt/intel/sgxsdk/environment
297-
./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
298-
retry_on_exit_code: 143
299-
working-directory: ./tests/wamr-test-suites
300-
299+
timeout_minutes: 10

0 commit comments

Comments
 (0)