Skip to content

Commit

Permalink
Merge #84
Browse files Browse the repository at this point in the history
84: gha/cadacy: use github action to submit coverage r=jmesmon a=jmesmon

Was seeing some errors using the `get.sh` direct method for pushing codacy coverage info, try using the action instead

Co-authored-by: Cody P Schafer <[email protected]>
  • Loading branch information
bors[bot] and codyps committed Oct 27, 2021
2 parents 467cd0e + 9af5dc4 commit 1d6bc9e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
- run: curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf -
- run: ./grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info
- run: bash <(curl -s https://codecov.io/bash) -f lcov.info
- run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r lcov.info
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: lcov.info

0 comments on commit 1d6bc9e

Please sign in to comment.