-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize local and CI testing to use tox (#184)
* Standardize local and CI testing to use tox * Use tox exclusively to manage test and build environments. This change standardizes make and CI invocations of the test suite. * Merge Windows testing in with the Linux and macOS test suite. This means that Linux and macOS wheels are now getting built and uploaded, and also means that coveralls is getting Windows coverage reports. * Support building wheels for all supported Python versions. This is accomplished using a tox label that expands to all supported Python versions. Run tox run -m build or make build to invoke this. * Support running the test suite across all Python versions in parallel. This is accomplished by running tox run-parallel or simply tox p. Cross-environment dependencies, like generating coverage reports after all tests have run, are managed in the tox configuration.
- Loading branch information
Showing
7 changed files
with
137 additions
and
98 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,8 +1,23 @@ | ||
[run] | ||
source = smartcard | ||
branch = True | ||
parallel = True | ||
relative_files = True | ||
source = | ||
smartcard | ||
test | ||
|
||
[paths] | ||
source = | ||
src | ||
*/site-packages | ||
|
||
[report] | ||
skip_covered = True | ||
fail_under = 33 | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': | ||
|
||
[html] | ||
directory = htmlcov/ | ||
skip_covered = False |
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
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ wheel | |
build | ||
setuptools | ||
pytest | ||
tox |
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