summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2021-10-25 14:28:54 -0400
committerCody P Schafer <dev@codyps.com>2021-10-25 14:29:07 -0400
commit9af5dc4e33fcbf83fc2a82f106915e855b3040f5 (patch)
tree2194d0b4fe165ead4bb56c88bf11228022006ab6
parent467cd0e819174a8d7ee4cc08feb12ff7ef803bbd (diff)
downloadrust-libzfs-9af5dc4e33fcbf83fc2a82f106915e855b3040f5.zip
gha/cadacy: use github action to submit coverage
-rw-r--r--.github/workflows/codecov.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml
index d746683..cd18818 100644
--- a/.github/workflows/codecov.yml
+++ b/.github/workflows/codecov.yml
@@ -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