-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable upstream Python tests. #45
Conversation
Not sure what do about macOS, haven't invested much time into it. If you want to, take a look, maybe some things are worth reporting upstream. Otherwise, I would just except macOS alongside Alpine Linux. |
70d70eb
to
981dd02
Compare
it's ok to except macOS. thanks |
Sorry for the Shellcheck drive-by fixes, it looks like they weren't run at all in master because of a late "improvement" in the previous PR. :-/ I have now used One thing to keep in mind is that the only platform running all tests (upstream ones for OpenSSL/Python + ours for Python&modules + security check with |
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.
I guess that it's ok.
I don't know where to check the result in GHA.
I was expecting to see it as a separate GHA step or at least as part of Pythia tests
My reading the code, this is mixed with compiling Python... which is a huge output, which is hard to check
My preference, is to have "Pythion test" as a separate top level step.
Thanks
# Don't use execute below, some tests might fail innocuously. | ||
# execute "${MAKE_CMD[@]}" test | ||
|
||
if [ "$OS" = "macos" ]; then |
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.
can we have this as a separate command?
The command is "compile" , but this is not compile + test.
I think it's easier if we have a separate command.
And we can skip calling the test based on the GHA yaml files
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.
I've added dedicated a chevahbs
function for testing.
This testing is now listed distinctly in GHA output, alongside building and installing (installing can also be quite verbose, e.g. for OpenSSL and Python).
I've worked on separating testing in a dedicated GHA step. Same for installing.
It is a separate test, but not a top-level one. I think this kind of testing is best done where it belongs, right after compiling, but before installing. This way, if testing fails, the build is stopped right there, no need to continue with building other libraries. |
I think that this can be merged. thanks! |
Scope
Fixes #12
Changes
Enabled the Python tests on the platforms where we build it, with the exception of:
Drive-by fixes:
paxctl
.chevabs
functions for testing and installing to have them listed distinctly in GHA output.libffi
,bzip2
,xz
,zlib
.Testing
Automated.