Skip to content

Commit 8376067

Browse files
authored
CI: troubleshoot codecov (#30380)
1 parent 0cd388f commit 8376067

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/run_tests.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ echo $PYTEST_CMD
3737
sh -c "$PYTEST_CMD"
3838

3939
if [[ "$COVERAGE" && $? == 0 && "$TRAVIS_BRANCH" == "master" ]]; then
40-
SHA=`git rev-parse HEAD`
4140
echo "uploading coverage"
42-
echo "bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME -C $SHA"
43-
bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME -C `git rev-parse HEAD`
41+
echo "bash <(curl -s https://codecov.io/bash) -Z -c -f $COVERAGE_FNAME"
42+
bash <(curl -s https://codecov.io/bash) -Z -c -f $COVERAGE_FNAME
4443
fi

0 commit comments

Comments
 (0)