Refactor snapshot build to require successful tests before build
Author: tfmorrisCreated Sep 1, 2026Updated Sep 1, 2026
LabelsType: Buggithub_actions
As mentioned in #7692, although the snapshot build currently runs the end-to-end tests, they aren't a prerequisite for the build, so we can have a failed tests in parallel with published releases, as happened on the 3.9 branch for 3.9.3+. It also looks like the Windows installer is being run twice, only one of which is used.
We want to reorganize things so that the build is broken into the following phases with each phase requiring successful completion of all pieces of the previous phase:
- lint all sources, install and cache prerequisites, build Java artefacts
- run all unit tests and e2e tests in parallel (same a pull request workflow up to here and should probably be restructured to be reusable)
- build kits for Linux, Mac (Intel only currently, but soon to include ARM), Windows w/JRE, Windows w/o JRE
- ? optional for release builds only ? - install and test built kits on their native platforms?
- Upload Github release and Maven artefacts
This work should be done before #7692 is tackled.
Source: OpenRefine/OpenRefine