Skip to content

maybe fix remappings #42

maybe fix remappings

maybe fix remappings #42

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths-ignore:
- "**/coverage.svg"
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install dependencies
run: |
yarn install --immutable
curl -L https://foundry.paradigm.xyz | bash
source /home/runner/.bashrc
echo "PATH=$PATH:/home/runner/.config/.foundry/bin" >> $GITHUB_ENV
/home/runner/.config/.foundry/bin/foundryup
git submodule init
- name: Run hardhat node, deploy contracts (& generate contracts typescript output)
run: yarn chain & yarn deploy
env:
ALCHEMY_API_KEY: ${{secrets.ALCHEMY_API_KEY}}
ETHERSCAN_API_KEY: ${{secrets.ETHERSCAN_API_KEY}}
- name: Run tests
run: yarn coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
format: lcov
files: packages/foundry/lcov.info