Skip to content
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

Add Java 21 and 23 to CI #3680

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ jobs:
- java-version: 17
millargs: "contrib.__.testCached"

- java-version: 21
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest we pick some of the existing jobs and set them to 21/23. We are already not covering the entire version matrix, and we can't afford to if we want to keep CI times reasonable. So the best we can do is to scatter jobs at various points around the version matrix, which should hopefully be enough to catch most things

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm solely interested in what fails and what succeeds. We can optimize the CI setup before we merge it.

millargs: "'{main,scalalib,testrunner,bsp,testkit}.__.testCached'"
- java-version: 21
millargs: "'{scalajslib,scalanativelib,kotlinlib}.__.testCached'"
- java-version: 23
millargs: "'{main,scalalib,testrunner,bsp,testkit}.__.testCached'"
- java-version: 23
millargs: "'{scalajslib,scalanativelib,kotlinlib}.__.testCached'"

- java-version: 17
millargs: "'example.javalib.__.local.testCached'"
- java-version: 17
Expand Down
Loading