Skip to content

Commit 8398e49

Browse files
jbrockmendelAlexKirko
authored andcommitted
CI: troubleshoot codecov (pandas-dev#30070)
1 parent c50f447 commit 8398e49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/run_tests.sh

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

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

0 commit comments

Comments
 (0)