doc: update Integration guide and FheLib example #283
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: Run Tests | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.0' | |
- 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 }}"}}' |