34 lines
671 B
YAML
34 lines
671 B
YAML
name: "CI"
|
|
|
|
env:
|
|
FOUNDRY_PROFILE: "ci"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
evm-test:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Check out the repo"
|
|
uses: "actions/checkout@v3"
|
|
with:
|
|
submodules: "recursive"
|
|
|
|
- name: "Install Foundry"
|
|
uses: "foundry-rs/foundry-toolchain@v1"
|
|
|
|
- name: "Run the tests"
|
|
env:
|
|
CI_FORK_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }}
|
|
run: "cd evm && make ci"
|
|
|
|
- name: "Add test summary"
|
|
run: |
|
|
echo "## Tests result" >> $GITHUB_STEP_SUMMARY
|
|
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
|