aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/codecov/upload_coverage.sh
blob: 74df0df5d372062363f1257e051b8b52465277ea (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash
set -e

./scripts/retry.sh 5 curl  --fail https://codecov.io/bash -o codecov.sh
chmod +x codecov.sh
COV_FILES=$(find . -name "test*UnitTestCoverage.xml" | xargs -n 1 echo -n " -f ")
./scripts/retry.sh 5 ./codecov.sh -X gcov -X coveragepy -X xcode ${COV_FILES}