Use Codecov for coverage reporting (#3)
This commit is contained in:
parent
ca361d9b00
commit
80b637963f
|
@ -33,11 +33,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install lcov
|
sudo apt-get -y install lcov
|
||||||
lcov --version
|
lcov --version
|
||||||
- name: Report code coverage
|
# - name: Report code coverage
|
||||||
uses: zgosalvez/github-actions-report-lcov@v3
|
# uses: zgosalvez/github-actions-report-lcov@v3
|
||||||
with:
|
# with:
|
||||||
coverage-files: coverage/lcov.info
|
# coverage-files: coverage/lcov.info
|
||||||
minimum-coverage: 99.4
|
# minimum-coverage: 99.4
|
||||||
artifact-name: code-coverage-report
|
# artifact-name: code-coverage-report
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
update-comment: true
|
# update-comment: true
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v3
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue