Skip to content

Commit

Permalink
ci: trigger e2e tests on ethermint on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Dec 13, 2023
1 parent b32ca7a commit c5cf28c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,16 @@ jobs:
- name: Run tests
run: make test

- name: Run e2e tests in ethermint 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/zbc-ethermint/actions/workflows/run-ci-e2e-test.yml/dispatches \
-d '{"ref":"main","inputs":{"fhevm_go_commit":"${{ github.event.pull_request.head.sha }}"}}'

0 comments on commit c5cf28c

Please sign in to comment.