Skip to content

Commit

Permalink
bump update-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Jan 10, 2025
1 parent 80b9e04 commit 7326817
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test-dymint-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
go-version: "1.22.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
go-version: "1.22.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-evm-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
go-version: "1.22.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-hub-upgrade-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
go-version: "1.21.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
go-version: "1.21.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
go-version: "1.21.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-wasm-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
go-version: "1.21.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down
37 changes: 27 additions & 10 deletions .github/workflows/e2e-test-workflow-call-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
go-version: "1.23.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand All @@ -103,16 +103,24 @@ jobs:
docker image ls -a
- name: Rollapp-EVM E2E Tests
run: sudo -E make e2e-test test=${{ matrix.test }} || echo "${{ matrix.test }}" >> failed-tests.log
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: Upload Failed Tests
if: always()
uses: actions/upload-artifact@v3
if: failure()
uses: actions/upload-artifact@v4
with:
name: failed-tests-${{ matrix.test }}
path: failed-tests.log
Expand All @@ -137,7 +145,7 @@ jobs:
go-version: "1.23.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand All @@ -148,7 +156,16 @@ jobs:
docker image ls -a
- name: Rollapp-Wasm E2E Tests
run: sudo -E make e2e-test test=${{ matrix.test }} || echo "${{ matrix.test }}" >> failed-tests.log
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 }}
Expand All @@ -157,8 +174,8 @@ jobs:


- name: Upload Failed Tests
if: always()
uses: actions/upload-artifact@v3
if: failure()
uses: actions/upload-artifact@v4
with:
name: failed-tests-${{ matrix.test }}
path: failed-tests.log
Expand All @@ -171,9 +188,9 @@ jobs:
- rollapp-wasm
steps:
- name: Download All Failed Test Logs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: failed-tests-*
pattern: my-artifact-*

- name: Combine Failed Test Logs
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
go-version: "1.22.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
go-version: "1.22.4"

- name: Download Tarball Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: e2e
path: /tmp
Expand Down

0 comments on commit 7326817

Please sign in to comment.