refactor: rename test contract, update workflow steps; remove geth #245
Workflow file for this run
This file contains hidden or 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: Coverage Report | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| coverage-report: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '25' | |
| - run: npm ci | |
| - run: npm run coverage:sol | |
| - uses: hrishikesh-kadam/setup-lcov@v1 | |
| - name: Filter LCOV | |
| run: | | |
| lcov --remove lcov.info \ | |
| 'test/*' \ | |
| 'script/*' \ | |
| 'src/proto/**' \ | |
| 'src/core/PacketHandler.sol' \ | |
| 'src/core/ContractRegistry.sol' \ | |
| 'src/core/TxAuthManagerBase.sol' \ | |
| 'src/core/TxManagerBase.sol' \ | |
| 'src/core/TxRunnerBase.sol' \ | |
| -o lcov.filtered.info | |
| - name: Report code coverage | |
| uses: zgosalvez/github-actions-report-lcov@v5 | |
| with: | |
| coverage-files: lcov.filtered.info | |
| minimum-coverage: 97 | |
| artifact-name: code-coverage-report | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| update-comment: true |