-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e186f24
commit be7118b
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,16 +200,15 @@ jobs: | |
# not as useful, and this action cannot fail CI based on a minimum coverage threshold, which | ||
# is why we use both in this way. | ||
- name: Post coverage report | ||
working-directory: l1-contracts | ||
if: github.event_name == 'pull_request' # This action fails when ran outside of a pull request. | ||
uses: romeovs/[email protected] | ||
with: | ||
delete-old-comments: true | ||
lcov-file: ./lcov.info | ||
lcov-file: ./l1-contracts/lcov.info | ||
github-token: ${{ secrets.GITHUB_TOKEN }} # Adds a coverage summary comment to the PR. | ||
|
||
- name: Verify minimum coverage | ||
uses: zgosalvez/github-actions-report-lcov@v2 | ||
with: | ||
coverage-files: ./lcov.info | ||
coverage-files: ./l1-contracts/lcov.info | ||
minimum-coverage: 80 # Set coverage threshold. |