Skip to content

Conversation

@xerial
Copy link
Member

@xerial xerial commented Jul 19, 2025

Summary

  • Refactored CI workflow to use GitHub Actions matrix strategy for JDK testing
  • Added JDK 24 to the test matrix
  • Reduced CI configuration from ~100 lines to ~50 lines

Changes

  • Replaced 4 individual test jobs (test_jdk8, test_jdk11, test_jdk17, test_jdk21) with a single matrix-based job
  • Added JDK 24 to the test matrix, so tests now run on JDK 8, 11, 17, 21, and 24
  • Each JDK version still runs both standard tests and universal buffer tests

Benefits

  • Cleaner, more maintainable CI configuration
  • Easy to add new JDK versions in the future (just add to the matrix array)
  • Reduces duplication and potential for configuration drift
  • All JDK versions use identical test steps

Test plan

  • CI workflow syntax is valid
  • All existing JDK versions (8, 11, 17, 21) continue to be tested
  • New JDK 24 tests run successfully
  • Both standard and universal buffer tests run for each JDK version

🤖 Generated with Claude Code

- Replace individual JDK test jobs with a single matrix-based job - Add JDK 24 to the test matrix (now tests JDK 8, 11, 17, 21, and 24) - Simplifies CI configuration and makes it easier to add new JDK versions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
@xerial xerial merged commit 032823b into main Jul 19, 2025
8 checks passed
@xerial xerial deleted the add-jdk24-matrix-tests branch July 19, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants