Skip to content

[Do not merge] Simulated upgrade test for mainnet Gateway contract #760

[Do not merge] Simulated upgrade test for mainnet Gateway contract

[Do not merge] Simulated upgrade test for mainnet Gateway contract #760

Workflow file for this run

name: contracts
on:
push:
paths:
- "contracts/**"
- "!contracts/**/README.md"
branches:
- main
pull_request:
paths:
- "contracts/**"
- "!contracts/**/README.md"
jobs:
build:
runs-on: snowbridge-runner
timeout-minutes: 15
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Test
working-directory: contracts
run: forge test
- name: Coverage
working-directory: contracts
run: forge coverage --report=lcov --via-ir
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
with:
working-directory: contracts
files: lcov.info
flags: solidity