- add CODECOV_TOKEN
- add missing make lcov-report
This commit is contained in:
parent
a62df95d35
commit
a589615fd3
1 changed files with 5 additions and 1 deletions
6
.github/workflows/code-coverage.yml
vendored
6
.github/workflows/code-coverage.yml
vendored
|
@ -25,9 +25,13 @@ jobs:
|
|||
run: CC=gcc-8 make test
|
||||
|
||||
- name: Generate coverage report
|
||||
run: make coverage
|
||||
run: |
|
||||
make coverage
|
||||
make lcov-report
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
with:
|
||||
files: lcov-report/coverage.info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue