From b7cedd13ad3de1c896e65fcc553b0a5dd84764ff Mon Sep 17 00:00:00 2001 From: anhductn2001 Date: Fri, 10 Jan 2025 21:45:06 +0700 Subject: [PATCH] update flow --- .../e2e-test-workflow-call-nightly.yml | 29 +++++++------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/e2e-test-workflow-call-nightly.yml b/.github/workflows/e2e-test-workflow-call-nightly.yml index df1bbc45..0fd9b37b 100644 --- a/.github/workflows/e2e-test-workflow-call-nightly.yml +++ b/.github/workflows/e2e-test-workflow-call-nightly.yml @@ -104,20 +104,18 @@ jobs: - name: Rollapp-EVM E2E Tests run: - set +e sudo -E make e2e-test test=${{ matrix.test }} - TEST_EXIT_CODE=$? - set -e - if [ "$TEST_EXIT_CODE" -ne 0 ]; then - echo "${{ matrix.test }}" >> failed-tests.log - exit 1 - fi env: DYMENSION_CI: ${{ inputs.dymension_ci }} ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }} ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }} RELAYER_CI: ${{ inputs.relayer_ci }} + - name: Write failed test + if: failure() + run: + echo "${{ matrix.test }}" >> failed-tests.log + - name: Upload Failed Tests if: failure() uses: actions/upload-artifact@v4 @@ -156,23 +154,18 @@ jobs: docker image ls -a - name: Rollapp-Wasm E2E Tests - run: - set +e - sudo -E make e2e-test test=${{ matrix.test }} - TEST_EXIT_CODE=$? - set -e - if [ "$TEST_EXIT_CODE" -ne 0 ]; then - echo "${{ matrix.test }}" >> failed-tests.log - exit 1 - fi - + run: sudo -E make e2e-test test=${{ matrix.test }} env: DYMENSION_CI: ${{ inputs.dymension_ci }} ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }} ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }} RELAYER_CI: ${{ inputs.relayer_ci }} + + - name: Write failed test + if: failure() + run: + echo "${{ matrix.test }}" >> failed-tests.log - - name: Upload Failed Tests if: failure() uses: actions/upload-artifact@v4