Skip to content

Merge pull request #38 from buttonwood-protocol/PROM-1279-update-gene… #37

Merge pull request #38 from buttonwood-protocol/PROM-1279-update-gene…

Merge pull request #38 from buttonwood-protocol/PROM-1279-update-gene… #37

Workflow file for this run

name: Test on Push to Main
on:
push:
branches: [main]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BUTTON_SWAP_PERIPHERY_CI_TOKEN }}
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Run Forge Coverage
run: |
forge coverage
id: coverage