forked from pytest-dev/pytest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add codecov support to AppVeyor and remove coveralls
- Loading branch information
1 parent
410d576
commit ec6fca4
Showing
8 changed files
with
46 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CHANGELOG merge=union | ||
*.bat text eol=crlf |
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 |
---|---|---|
|
@@ -35,6 +35,8 @@ env/ | |
.cache | ||
.pytest_cache | ||
.coverage | ||
.coverage.* | ||
coverage.xml | ||
.ropeproject | ||
.idea | ||
.hypothesis | ||
|
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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
REM scripts called by AppVeyor to setup the environment variables to enable coverage | ||
if not defined PYTEST_NO_COVERAGE ( | ||
set "COVERAGE_FILE=%CD%\.coverage" | ||
set "COVERAGE_PROCESS_START=%CD%\.coveragerc" | ||
set "_PYTEST_TOX_COVERAGE_RUN=coverage run --source {envsitepackagesdir}/_pytest/,{toxinidir}/testing -m" | ||
set "_PYTEST_TOX_EXTRA_DEP=coverage-enable-subprocess" | ||
echo Coverage setup completed | ||
) else ( | ||
echo Skipping coverage setup, PYTEST_NO_COVERAGE is set | ||
) |
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,11 @@ | ||
REM script called by AppVeyor to combine and upload coverage information to codecov | ||
if not defined PYTEST_NO_COVERAGE ( | ||
echo Prepare to upload coverage information | ||
C:\Python36\Scripts\pip install codecov | ||
C:\Python36\Scripts\coverage combine | ||
C:\Python36\Scripts\coverage xml --ignore-errors | ||
C:\Python36\Scripts\coverage report -m --ignore-errors | ||
C:\Python36\Scripts\codecov --required -X gcov pycov search -f coverage.xml --flags %TOXENV:-= % windows | ||
) else ( | ||
echo Skipping coverage upload, PYTEST_NO_COVERAGE is set | ||
) |
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