Fix and simplify coveralls reporting

This commit is contained in:
Petri Lehtinen
2021-01-26 21:59:23 +02:00
parent 2cd3126651
commit 2de2c3d5fc
6 changed files with 12 additions and 589 deletions

View File

@@ -70,6 +70,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: sudo apt update && sudo apt install curl lcov
- run: cmake -DJANSSON_COVERAGE=ON -DJANSSON_COVERALLS=ON -DCMAKE_BUILD_TYPE=Debug
- run: cmake -DJANSSON_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug .
- run: cmake --build .
- run: cmake --build . --target coveralls
- run: cmake --build . --target coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.info