ucs01-relay: more coverage on both solidity and rust #14
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: Coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: packages.x86_64-linux.evm-coverage | |
- uses: nixbuild/nix-quick-install-action@v22 | |
- uses: nixbuild/nixbuild-action@master | |
with: | |
nixbuild_token: ${{ secrets.nixbuild_token }} | |
- uses: actions/download-artifact@v3 | |
- uses: hrishikesh-kadam/setup-lcov@v1 | |
- name: Build coverage | |
run: | | |
nix --extra-experimental-features nix-command --extra-experimental-features flakes build .#evm-coverage | |
- name: Report code coverage | |
uses: zgosalvez/github-actions-report-lcov@v3 | |
with: | |
coverage-files: result/lcov.info | |
minimum-coverage: 90 | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
update-comment: true |