Skip to content

Commit

Permalink
ci(tests): trigger evmos e2e test on changes in geth
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Oct 10, 2023
1 parent 9fa664f commit e31cfbb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish_geth_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,16 @@ jobs:
- name: Run tests
working-directory: ./go-ethereum/core/vm
run: go test -v

- name: Run e2e tests in evmos with current branch
if: github.event_name == 'pull_request'
shell: bash
env:
SECRET_TOKEN: ${{ secrets.CONCRETE_ACTIONS_TOKEN }}
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $SECRET_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/zama-ai/evmos/actions/workflows/ci_e2e_test.yml/dispatches \
-d '{"ref":"v9.1.0-zama","inputs":{"geth_commit":"${{ github.event.pull_request.head.sha }}"}}'

0 comments on commit e31cfbb

Please sign in to comment.