Skip to content

Commit

Permalink
Using different workflow to test if PRs are created with test coverag…
Browse files Browse the repository at this point in the history
…e comment
  • Loading branch information
trhgquan authored Feb 8, 2022
1 parent 2671ff7 commit ad2e438
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ jobs:
if: ${{ github.event_name == 'pull_request_target' }}

- name: upload code coverage report
uses: romeovs/lcov-reporter-action@v0.3.1
uses: zgosalvez/github-actions-report-lcov@v1
with:
lcov-file: coverage.info
coverage-files: coverage.info
minimum-coverage: 80
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'pull_request_target' }}

- name: cleaning afterworks
Expand Down

0 comments on commit ad2e438

Please sign in to comment.