Skip to content

Commit 4fbb372

Browse files
authored
CI: revert SGX retry attempts (#4421)
* Revert "Improve spec test execution by adding retry logic for transient errors (#4393)" This reverts commit 64cafaf. * Revert "Add error handling for sgx ci (#4222)" This reverts commit 8ad4789.
1 parent 0127eaf commit 4fbb372

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

.github/workflows/compilation_on_sgx.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,8 @@ jobs:
288288
sudo swapon /swapfile
289289
sudo swapon --show
290290
291-
- name: run spec tests with retry
292-
id: run_spec_tests
293-
uses: nick-fields/retry@v3
294-
with:
295-
command: |
296-
cd ./tests/wamr-test-suites
297-
source /opt/intel/sgxsdk/environment
298-
./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
299-
max_attempts: 3
300-
retry_on: error
301-
shell: bash
302-
timeout_minutes: 10
303-
304-
- name: print test results
291+
- name: run spec tests
305292
run: |
306-
echo "Test results:"
307-
echo "${{ steps.run_spec_tests.outputs.stdout }}"
308-
echo "${{ steps.run_spec_tests.outputs.stderr }}"
309-
echo "Exit code: ${{ steps.run_spec_tests.outputs.exit_code }}"
310-
echo "Exit error: ${{ steps.run_spec_tests.outputs.exit_error }}"
311-
shell: bash
293+
source /opt/intel/sgxsdk/environment
294+
./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
295+
working-directory: ./tests/wamr-test-suites

0 commit comments

Comments
 (0)