-
Notifications
You must be signed in to change notification settings - Fork 75
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
more different verification matrix builds #2114
Comments
Using different JDKs for different OS makes it more difficult to identify if a failure is an OS or a JDK version problem. Having a fast path for version and API checks sounds good. But if the configuration is chosen smart it can probably be done with little extra changes. |
Java 21 is the Java version Eclipse ships with, so what would be the advantage to test with Java 17 (or any other java), this will just increase the runtime and resources, are there any concrete issues you want to address? I once setup such matrix for SWT (on the Java 11 > 17 transition) but it has brought little value. Also as soon as platform chooses to raise the limit for one bundle or any library uses java 21 this won't work so we really should go forward. Beside that, if required, individual projects can setup additional checks.
It depends, e.g. SWT can have OS specific APIs (see Windows OLE support)
Can you give an example? The action is marked as "always" so the results will always be collected and should always be published.
In general I'm not convinced any "fast checks" are required, they just burn resources we currently use for free, the fastest way is to simply run the maven build on your local maschine, then you can skip whatever you want, see testfailures in any stage, you can choose to either A PR is to validate as much as possible it is not meant as a debug facility and we better improve the tooling then, e.g. if m2e nature is enabled, you will see any build error even in the IDE (even though I haven't tested it lately how well they are presented). |
I am unhappy with the current github verification builds as defined in https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blame/master/.github/workflows/mavenBuild.yml
Currently we have 3 verification builds that run on the same java version (21) on 3 different OS in a matrix. Java 17 is not tested.
The API test needlessly runs on every OS - but should be OS independent (isn't it?)
After running all junit tests, which takes much time, the plugin versions are verified. When that version cheks fais all junit test results are lost - not visible.
Would it not better to have a List of Testscenarios that run like:
a) API & version checks only (fail fast), linux (fastest OS) + java 22 (i.e latest JDK)
b) junit only - on WIN+ java 17 (i.e. earliest supported JDK)
c) junit only - on linux+ java 21, (i.e. latest LTS JDK)
d) junit only - on MacOs + java 22 (i.e. latest JDK)
that way we should see missing version bumps faster, see test result even if other tests fail.
WDYT?
The text was updated successfully, but these errors were encountered: