Преглед изворни кода

CI: revert SGX retry attempts (#4421)

* Revert "Improve spec test execution by adding retry logic for transient errors (#4393)"

This reverts commit 64cafaff1eee1942154867e4c4088dd2bfb70284.

* Revert "Add error handling for sgx ci (#4222)"

This reverts commit 8ad47897d1f5579a3c9d75e4d7d234474fc54bbd.
YAMAMOTO Takashi пре 8 месеци
родитељ
комит
4fbb372f15
1 измењених фајлова са 4 додато и 20 уклоњено
  1. 4 20
      .github/workflows/compilation_on_sgx.yml

+ 4 - 20
.github/workflows/compilation_on_sgx.yml

@@ -288,24 +288,8 @@ jobs:
           sudo swapon /swapfile
           sudo swapon --show
 
-      - name: run spec tests with retry
-        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
+      - name: run spec tests
         run: |
-          echo "Test results:"
-          echo "${{ steps.run_spec_tests.outputs.stdout }}"
-          echo "${{ steps.run_spec_tests.outputs.stderr }}"
-          echo "Exit code: ${{ steps.run_spec_tests.outputs.exit_code }}"
-          echo "Exit error: ${{ steps.run_spec_tests.outputs.exit_error }}"
-        shell: bash
+          source /opt/intel/sgxsdk/environment
+          ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
+        working-directory: ./tests/wamr-test-suites