-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Windows to CI (plus associated fixes) #287
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e97c46e
Matrix against Linux/macOS/Windows
altendky 1759685
Use -m twisted.trial in tox.ini for Windows
altendky ff26db8
fix for Windows
altendky 01a210e
use io.open() for encoding= for py2 compatibility
altendky d7dc7e2
os.path.normpath instead of os.path.sep
altendky 224d1e8
macOS will be added separately now
altendky 00f3c0c
Merge branch 'master' into test_more_operating_systems
altendky c974f05
Add 287.misc.rst
altendky 0a2d65c
Merge branch 'master' into test_more_operating_systems
altendky 51b43c5
Explain git checkout -b master
altendky 4314093
Explain coverage run --module twisted.trial
altendky 5d3d920
Update test_check.py
altendky 96d490f
simplify
altendky 411dcd2
exclude 3.9 on windows due to trial (twisted)
altendky daf3d01
comment on why windows/cp39 are excluded from ci
altendky 9fb95e4
Expound upon comment about 3.9 on windows
altendky 0f049d6
Remove explicit setting of branch as master
altendky e20a790
adjust coverage run call and comment
altendky 55f4966
Update tox.ini
altendky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Empty file.
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May not make any difference but this could also be
python -m coverage ...
. I expect the right command is on PATH thanks to tox ... but a few lines above it looks like you thoughtpython -m twisted.trial ...
was a good idea, so maybe it's a good idea for coverage too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
-m twisted.trial
was for consistency with this line which switched as explained in the comment. But sure, could do it for everything. I'll look, or maybe another PR to switch everything if there are several unrelated places where-m
would make sense.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://tox.readthedocs.io/en/latest/config.html#conf-allowlist_externals
Hmm, so tox only warns about outside access and doesn't, right there anyways, list an option to make that an error. Anyways, there are several other places this would apply in general so I won't change them here. I did update the comment to better represent coverage's perspective on the run subcommand.