Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
comment: off
coverage:
status:
changes:
default: on
5 changes: 4 additions & 1 deletion scripts/report-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ python -m coverage xml
python -m coverage report -m
# Set --connect-timeout to work around https://github.com/curl/curl/issues/4461
curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
bash codecov-upload.sh -Z -X fix -f coverage.xml "$@"

base_branch="${GITHUB_BASE_REF:-${TRAVIS_BRANCH}}"
base_commit=$(git merge-base FETCH_HEAD "origin/$base_branch")
bash codecov-upload.sh -Z -X fix -f coverage.xml -N "$base_commit" "$@"