Skip to content

Hash on chain in the Timlock #283

Hash on chain in the Timlock

Hash on chain in the Timlock #283

Workflow file for this run

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 }}