Use Codecov for coverage reporting (#3)

This commit is contained in:
Piotr Rogowski 2023-10-02 09:34:16 +02:00 committed by GitHub
parent ca361d9b00
commit 80b637963f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 8 deletions

View File

@ -33,11 +33,15 @@ jobs:
run: |
sudo apt-get -y install lcov
lcov --version
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: coverage/lcov.info
minimum-coverage: 99.4
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
# - name: Report code coverage
# uses: zgosalvez/github-actions-report-lcov@v3
# with:
# coverage-files: coverage/lcov.info
# minimum-coverage: 99.4
# artifact-name: code-coverage-report
# github-token: ${{ secrets.GITHUB_TOKEN }}
# update-comment: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}