Closed larsoner closed 1 year ago
The GHA build/test architecture had a couple big drawbacks:
I thus refactored the action by:
build, test
into build_macos, build_linux, build_windows, test_macos, test_linux, test_windows
jobs. tools/*.sh
scriptsname:
for any steps where it was obvious from the script name and/or action what was happeningThis ends up with some redundancy, but the flow is much more readable (way fewer if
clauses), and it ends up at about half the number of lines compared to before. And now if one build finishes first -- like the Linux one -- its tests can start running immediately for faster feedback.
@hoechenberger feel free to review and if you're happy I'll adjust the merge requirements to reflect the new job naming
@larsoner please go ahead if you're happy, I won't have time to review today
Linux tests completed before the macOS and Windows builds even completed :heart_eyes:
Related to https://github.com/mne-tools/mne-python/issues/11831. We should check that
mne[test,test_extra,full,doc]
is installed by our installer.Will fail until https://github.com/mne-tools/mne-python/pull/12209 is merged, should say something like: