From d14e0e74f4d63fe6ec7d030f96881b66661eeeb9 Mon Sep 17 00:00:00 2001 From: Ivan Carvalho Date: Tue, 21 May 2024 08:22:49 -0400 Subject: [PATCH 1/2] Try to use Coveralls output from grcov --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fa06758d..6140cdbcc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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] From 0befda20dbca003f63077029103543cfeac374c2 Mon Sep 17 00:00:00 2001 From: Ivan Carvalho Date: Tue, 21 May 2024 19:56:35 -0400 Subject: [PATCH 2/2] Use .lcov extension instead of .info This reverts commit d14e0e74f4d63fe6ec7d030f96881b66661eeeb9. --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6140cdbcc..de6df1c89 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -150,16 +150,17 @@ jobs: run: | set -e mv tests/retworkx*profraw . - ./grcov . --binary-path ./target/debug/ -s . -t coveralls --branch --ignore-not-existing --ignore "/*" -o ./coveralls.json + ./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.json + path: coveralls.lcov - name: Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - file: ./coveralls.json + format: lcov + file: ./coveralls.lcov docs: if: github.repository_owner == 'Qiskit' needs: [tests]