summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-27 01:47:15 +0000
committerGitHub <noreply@github.com>2021-10-27 01:47:15 +0000
commit1d6bc9e400d96c2c41049b27ff33283dea0fa5d0 (patch)
tree2194d0b4fe165ead4bb56c88bf11228022006ab6
parent467cd0e819174a8d7ee4cc08feb12ff7ef803bbd (diff)
parent9af5dc4e33fcbf83fc2a82f106915e855b3040f5 (diff)
downloadrust-libzfs-1d6bc9e400d96c2c41049b27ff33283dea0fa5d0.zip
Merge #84
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 <dev@codyps.com>
-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