forked from pytest-dev/pytest
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: move coverage reporting to shared script (pytest-dev#5403)
ci: move coverage reporting to shared script
- Loading branch information
Showing
5 changed files
with
31 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -x | ||
|
||
if [ -z "$TOXENV" ]; then | ||
python -m pip install coverage | ||
else | ||
# Add last TOXENV to $PATH. | ||
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH" | ||
fi | ||
|
||
python -m coverage combine | ||
python -m coverage xml | ||
python -m coverage report -m | ||
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.