Deploy WETH market on Optimism (#882) #2013
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 Coverage | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run-coverage: | |
name: Run coverage | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: '--max-old-space-size=4096' | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
SNOWTRACE_KEY: ${{ secrets.SNOWTRACE_KEY }} | |
INFURA_KEY: ${{ secrets.INFURA_KEY }} | |
POLYGONSCAN_KEY: ${{ secrets.POLYGONSCAN_KEY }} | |
ARBISCAN_KEY: ${{ secrets.ARBISCAN_KEY }} | |
LINEASCAN_KEY: ${{ secrets.LINEASCAN_KEY }} | |
OPTIMISMSCAN_KEY: ${{ secrets.OPTIMISMSCAN_KEY }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
cache: 'yarn' | |
node-version: '16' | |
- name: Install packages | |
run: yarn install --non-interactive --frozen-lockfile | |
- name: Compile | |
run: yarn hardhat compile | |
- name: Run tests | |
run: yarn cover --no-compile | |
- name: Upload the coverage reports to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |