[WIP] test: add e2e test step in the CI #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release/** | |
permissions: | |
contents: read | |
jobs: | |
e2e-test: | |
name: E2E Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: build e2e test image | |
shell: bash | |
env: | |
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | |
run: | | |
echo "ETH_RPC_URL: $ETH_RPC_URL" | |
docker build -t e2e -f Dockerfile.e2e . --build-arg ETH_RPC_URL="$ETH_RPC_URL" | |
- name: Run E2E Test | |
run: docker run --rm e2e |