Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add workflow for e2e-tests #1318

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: E2E Tests

on:
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
build-rollapp-evm:
uses: dymensionxyz/rollapp-evm/.github/workflows/build_image_with_dymint.yml@main
with:
commit_hash: ${{ github.sha }}

build-rollapp-wasm:
uses: dymensionxyz/rollapp-wasm/.github/workflows/build_image_with_dymint.yml@main
with:
commit_hash: ${{ github.sha }}

combine-artifacts:
needs:
- build-rollapp-evm
- build-rollapp-wasm
runs-on: ubuntu-latest
steps:
- name: Download RollApp EVM artifact
uses: actions/download-artifact@v3
with:
name: rollapp-evm

- name: Download RollApp WASM artifact
uses: actions/download-artifact@v3
with:
name: rollapp-wasm

- name: Combine Images into e2e.tar
run: |
tar -cf /tmp/e2e.tar rollapp-evm.tar rollapp-wasm.tar

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: e2e
path: /tmp/e2e.tar

e2e-tests:
needs: combine-artifacts
uses: dymensionxyz/e2e-tests/.github/workflows/e2e-test-workflow-call.yml@main
with:
rollapp_evm_ci: "e2e"
rollapp_wasm_ci: "e2e"
Loading