-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This runs pytest within coverage, enables pytest-xdist to improve test run times, and reports the coverage on GitHub Actions for us. This also ensures that the parallel mode coverage files are ignored and adds things to pytest configuration to make tox command simpler
- Loading branch information
1 parent
eeafb6a
commit f153963
Showing
7 changed files
with
75 additions
and
13 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,2 +1,14 @@ | ||
[run] | ||
omit = requests/packages/* | ||
include = */requests/*.py | ||
omit = */requests/packages/* | ||
parallel = True | ||
|
||
[report] | ||
omit = | ||
*/requests/packages/* | ||
|
||
[paths] | ||
source = | ||
src/requests/ | ||
*/requests/ | ||
*\requests |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.coverage | ||
.coverage* | ||
MANIFEST | ||
coverage.xml | ||
nosetests.xml | ||
|
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
-e .[socks] | ||
pytest>=2.8.0,<=6.2.5 | ||
pytest-cov | ||
pytest-httpbin==2.0.0 | ||
pytest>=2.8.0,!=6.2.5 | ||
coverage | ||
pytest-xdist | ||
httpbin~=0.10.0 | ||
pytest-httpbin==2.0.0 | ||
trustme | ||
wheel |
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