Skip to content
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

CI: Add a test job for Cygwin #82

Merged
merged 3 commits into from
Dec 18, 2021
Merged

CI: Add a test job for Cygwin #82

merged 3 commits into from
Dec 18, 2021

Conversation

lazka
Copy link
Contributor

@lazka lazka commented Dec 18, 2021

I'm not a Cygwin developer, but since the MSYS2 patches are touching Cygwin code paths this could be helpful in preventing regressions in that area.

Example run on my fork: https://github.com/lazka/distutils/runs/4569103775?check_suite_focus=true

There is no single user/group with UID/GID=0 under Cygwin unlike Unix.
Skip the tests that assume this for now.
There are some tests skipped because of missing docutils, but
cygwin currently is missing a docutils package for Python 3.9
@lazka lazka mentioned this pull request Dec 18, 2021
@jaraco
Copy link
Member

jaraco commented Dec 18, 2021

This looks great. I wanted to take the opportunity here to notice that there was some redundancy across the two identified test modules and to consolidate that behavior, so I've done that in 1d98a15. It's entirely an iteration on your work and not a criticism.

@lazka
Copy link
Contributor Author

lazka commented Dec 18, 2021

A bit of additional context: I'm not quite sure why the tests try to set root uid/gid... maybe just because they are always available and not the current user? I tried something similar by using the "Adminstrator" account and "Administrators" group on Windows first, which Windows is supposed to have by default, but for some reason the GHA image is missing the former.

@jaraco jaraco merged commit 460b59f into pypa:main Dec 18, 2021
@lazka
Copy link
Contributor Author

lazka commented Dec 18, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants