Add test for preventing delegation to address(0)
#280
Workflow file for this run
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: Code Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Coverage | |
run: export ALCHEMY_MAINNET_API_KEY=${{secrets.ALCHEMY_MAINNET_API_KEY}} && npm run build && npm run coverage | |
- name: Edit lcov.info | |
run: cat coverage/lcov.info | sed '/.*\/interfaces\/.*/,/TN:/d' | sed '/.*\/mocks\/.*/,/TN:/d' > coverage/tmp.info && mv coverage/tmp.info coverage/lcov.info | |
- name: Coveralls | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |