Skip to content

Commit

Permalink
Fix coveralls by changing the extension to .lcov (#1198)
Browse files Browse the repository at this point in the history
* Try to use Coveralls output from grcov

* Use .lcov extension instead of .info

This reverts commit d14e0e7.
  • Loading branch information
IvanIsCoding authored May 22, 2024
1 parent 0ec113b commit 1df925d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,17 @@ 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 lcov --branch --ignore-not-existing --ignore "/*" -o ./coveralls.lcov
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coveralls.info
path: coveralls.lcov
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
format: lcov
file: ./coveralls.info
file: ./coveralls.lcov
docs:
if: github.repository_owner == 'Qiskit'
needs: [tests]
Expand Down

0 comments on commit 1df925d

Please sign in to comment.