mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-09-06 09:51:27 +00:00
CI: revert SGX retry attempts (#4421)
* Revert "Improve spec test execution by adding retry logic for transient errors (#4393)" This reverts commit64cafaff1e
. * Revert "Add error handling for sgx ci (#4222)" This reverts commit8ad47897d1
.
This commit is contained in:
parent
0127eafbe5
commit
4fbb372f15
24
.github/workflows/compilation_on_sgx.yml
vendored
24
.github/workflows/compilation_on_sgx.yml
vendored
|
@ -288,24 +288,8 @@ jobs:
|
||||||
sudo swapon /swapfile
|
sudo swapon /swapfile
|
||||||
sudo swapon --show
|
sudo swapon --show
|
||||||
|
|
||||||
- name: run spec tests with retry
|
- name: run spec tests
|
||||||
id: run_spec_tests
|
|
||||||
uses: nick-fields/retry@v3
|
|
||||||
with:
|
|
||||||
command: |
|
|
||||||
cd ./tests/wamr-test-suites
|
|
||||||
source /opt/intel/sgxsdk/environment
|
|
||||||
./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
|
|
||||||
max_attempts: 3
|
|
||||||
retry_on: error
|
|
||||||
shell: bash
|
|
||||||
timeout_minutes: 10
|
|
||||||
|
|
||||||
- name: print test results
|
|
||||||
run: |
|
run: |
|
||||||
echo "Test results:"
|
source /opt/intel/sgxsdk/environment
|
||||||
echo "${{ steps.run_spec_tests.outputs.stdout }}"
|
./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
|
||||||
echo "${{ steps.run_spec_tests.outputs.stderr }}"
|
working-directory: ./tests/wamr-test-suites
|
||||||
echo "Exit code: ${{ steps.run_spec_tests.outputs.exit_code }}"
|
|
||||||
echo "Exit error: ${{ steps.run_spec_tests.outputs.exit_error }}"
|
|
||||||
shell: bash
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user