Skip to content

[WIP] test: add e2e test step in the CI #6

[WIP] test: add e2e test step in the CI

[WIP] test: add e2e test step in the CI #6

Workflow file for this run

name: E2E Test
on:
pull_request:
push:
branches:
- main
- release/**
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 }}
TEST: test
run: |
if [ -z "$ETH_RPC_URL" ]; then
echo "Error: ETH_RPC_URL is not set"
exit 1
fi
echo ETH_RPC_URL: "$ETH_RPC_URL"
echo TEST: "$TEST"
docker build -t e2e -f Dockerfile.e2e . --build-arg ETH_RPC_URL="$ETH_RPC_URL"
- name: Run E2E Test
run: docker run --rm e2e