-
Notifications
You must be signed in to change notification settings - Fork 29
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
[NOID] Setups testing for JDK 21 #532
Conversation
ff905b5
to
8ef7ed2
Compare
8ef7ed2
to
f98d019
Compare
@@ -81,6 +92,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
project: ['common', 'core', 'processor', 'test-utils', 'it'] | |||
java-version: ['17', '21'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember there was a reason we had 17.0.8, but not what that reason was, is it no longer a problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we had to move it up specifically with a breaking change they did in JDK? But that shouldn't happen hopefully very often
- uses: ./.github/actions/setup-gradle-cache | ||
- name: Run tests | ||
shell: bash | ||
run: ./gradlew ${{inputs.project-name}}:check --parallel | ||
run: ./gradlew ${{inputs.project-name}}:test --parallel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is check not needed because we run the other things e.g spotless separately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Because spotless didn't work in f98d019 for Java 21 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :) Thank you
Why
We want to compile with JDK 17 but test with both JDK 17 and JDK 21