-
-
Notifications
You must be signed in to change notification settings - Fork 60
GitHub Action Ubuntu job doesn't check if generated files are up to date #380
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
Comments
I can look at this tomorrow 😊 |
I actually have plans to eventually make this a separate GitHub Action from the build workflows, but who the heck knows when I will have time to make that actually happen. 😄 |
I agree that it would be more reliable to not run "make regen-all" for the regular build. It's a good idea to have a separated job. It would also helper contributors to understand a job failure. Previous, the Travis CI error was not obvious. |
Oh, by the way, Travis CI also checks for "make smelly": ensure that all symbols exported by libpython start with "Py" or "_Py". |
@vstinner should this be part of build actions for every OS, or is it fine to just run it one time on one OS (in a separate action)? |
It's enough to test it on a single OS. I suggest to use Linux, since the checks were run on Linux previously. A separated action would be better. |
https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org>
…H-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org>
…ythonGH-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org> (cherry picked from commit d20b7ed) Co-authored-by: Filipe Laíns <lains@archlinux.org>
…ythonGH-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org> (cherry picked from commit d20b7ed) Co-authored-by: Filipe Laíns <lains@archlinux.org>
…H-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org> (cherry picked from commit d20b7ed) Co-authored-by: Filipe Laíns <lains@archlinux.org>
…H-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org> (cherry picked from commit d20b7ed) Co-authored-by: Filipe Laíns <lains@archlinux.org>
…ythonGH-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org>
Is there anything left to do for this issue? It looks like https://bugs.python.org/issue42212 on the python bug tracker is already marked as closed. @brettcannon what did you have in mind for turning this into a separate GitHub Action? Is that still something you want done? |
@nightlark I created https://github.com/brettcannon/check-for-changed-files, but there's already something being done using |
Previously, Travis CI was mandatory on Python PRs. Travis CI was made optional, and instead GHA Ubuntu was made required.
The problem is that only Travis CI checked if generated files are up to date:
These commands should be copied and adapted in
.github/workflows/build.yml
.Is there a volunteer to do that?
cc @FFY00 @ammaraskar
The text was updated successfully, but these errors were encountered: