From 069442ce8edd6a08723a62809449db69de171eed Mon Sep 17 00:00:00 2001 From: dCorral <55594560+dcorral@users.noreply.github.com> Date: Wed, 3 May 2023 06:44:44 +0200 Subject: [PATCH] CI workflow for EVM RPC testing (#1821) * Add workflow for testing evm rpc * Add test workflow for EVM RPCs * Rename EVM RPC Test * Rename tests * Rename workflow job * Fix typo on environment var on CI * Rename tag 'test/rpc_evm' to 'evm' * Set NODE_URL to point devnet --- .github/workflows/tests-evm-rpc.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/tests-evm-rpc.yaml diff --git a/.github/workflows/tests-evm-rpc.yaml b/.github/workflows/tests-evm-rpc.yaml new file mode 100644 index 00000000000..b94afa4e4d9 --- /dev/null +++ b/.github/workflows/tests-evm-rpc.yaml @@ -0,0 +1,20 @@ +name: Tests - EVM +on: + workflow_dispatch: +env: + NODE_URL: "http://35.187.53.161:20551/" + AUTH_ID: ${{ secrets.INFURA_GOERLI_PROJECT_ID }} + AUTH_PASS: ${{ secrets.INFURA_GOERLI_API_KEY }} +jobs: + node-rpc-tests: + name: E2E tests + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: '^1.17.0' + - uses: actions/checkout@v3 + with: + repository: 'DeFiCh/go-ethlibs' + - name: Run e2e tests + run: go test -v ./node/rpc_test.go