Skip to content

Conversation

@Asymtode712
Copy link
Contributor

@Asymtode712 Asymtode712 commented Oct 1, 2025

Description

  • Added matrix strategy to test against multiple Java versions (17, 21)
  • Dynamically sets JDK version in workflow steps using matrix variable
  • Ensures compatibility across different Java environments
image

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

Fixes #313 🦕

@gemini-code-assist
Copy link
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@Asymtode712
Copy link
Contributor Author

@kabir @fjuma Please review this PR and merge it if it's good to go

Copy link
Collaborator

@fjuma fjuma left a comment

Choose a reason for hiding this comment

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

Thanks very much @Asymtode712!

@fjuma fjuma requested a review from kabir October 1, 2025 15:28
@kabir
Copy link
Collaborator

kabir commented Oct 2, 2025

Thanks @Asymtode712! It looks good and passes CI. However, I messed up in the original issue and put 24 which should have been 25, which is the actual LTS version. Would you be able to update it?

@Asymtode712
Copy link
Contributor Author

@kabir sure !!

@Asymtode712
Copy link
Contributor Author

@kabir done with the changes, kindly review

@kabir
Copy link
Collaborator

kabir commented Oct 2, 2025

Sorry, @Asymtode712 it doesn't seem to me my day :-D

We actually need to leave 25 out since we don't have a Quarkus/Vert.X version yet that supports Java 25. We're tracking that here #315. That explains the test failures.

Would you be able to remove 25 from the matrix?

@Asymtode712
Copy link
Contributor Author

@kabir sure np

@Asymtode712
Copy link
Contributor Author

@kabir done with the change, please review

@kabir kabir changed the title chore: upgrade build-and-test workflow to test Java 17, 21, and 24 chore: upgrade build-and-test workflow to test Java 17 and 21 Oct 2, 2025
@kabir kabir merged commit b976bcf into a2aproject:main Oct 2, 2025
9 checks passed
@kabir
Copy link
Collaborator

kabir commented Oct 2, 2025

Thank you @Asymtode712 !

kabir pushed a commit to kabir/a2a-java that referenced this pull request Dec 23, 2025
…ject#321)

# Description
- Added matrix strategy to test against multiple Java versions (17, 21)
- Dynamically sets JDK version in workflow steps using matrix variable
- Ensures compatibility across different Java environments
<img width="612" height="355" alt="image"
src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fa2aproject%2Fa2a-java%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/67345f39-87b6-472f-b144-d6480759628f">https://github.com/user-attachments/assets/67345f39-87b6-472f-b144-d6480759628f"
/>


Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make
sure it goes smoothly:

- [X] Follow the [`CONTRIBUTING` Guide](../CONTRIBUTING.md).
- [X] Make your Pull Request title in the
<https://www.conventionalcommits.org/> specification.
- [X] Ensure the tests pass

Fixes a2aproject#313  🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore]: Upgrade the build-and-test.yml GH Actions workflow to test more Java versions

3 participants