Commit 6d02e16b authored by Ian McInerney's avatar Ian McInerney
Browse files

Pin lcov action and add coveralls upload action

No related merge requests found
Showing with 8 additions and 1 deletion
+8 -1
......@@ -49,12 +49,19 @@ jobs:
# Only parse and upload coverage if it was generated
- name: Process coverage
if: ${{ matrix.coverage == 'ON' }}
uses: imciner2/run-lcov@main
uses: imciner2/run-lcov@v1
with:
input_directory: '${{ runner.workspace }}/build'
exclude: '"$GITHUB_WORKSPACE/tests/*" "$GITHUB_WORKSPACE/examples/*" "/usr/include/x86_64-linux-gnu/bits/*"'
output_file: '${{ runner.workspace }}/build/coverage.info'
- name: Upload coverage
if: ${{ matrix.coverage == 'ON' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: '${{ runner.workspace }}/build/coverage.info'
test_configs:
strategy:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment