Skip to content

Commit

Permalink
Try to use Coveralls output from grcov
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding committed May 21, 2024
1 parent 0ec113b commit d14e0e7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,16 @@ jobs:
run: |
set -e
mv tests/retworkx*profraw .
./grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o ./coveralls.info
./grcov . --binary-path ./target/debug/ -s . -t coveralls --branch --ignore-not-existing --ignore "/*" -o ./coveralls.json
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coveralls.info
path: coveralls.json
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
format: lcov
file: ./coveralls.info
file: ./coveralls.json
docs:
if: github.repository_owner == 'Qiskit'
needs: [tests]
Expand Down

0 comments on commit d14e0e7

Please sign in to comment.