GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Default test task to Java 25 only by andimarek · Pull Request #4330 · graphql-java/graphql-java

Conversation

@andimarek

@andimarek andimarek commented Mar 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove test.dependsOn testWithJava{11,17,21} and check.dependsOn testng from build.gradle
  • ./gradlew test now only runs tests on Java 25 (no more -x flags needed locally)
  • Other JVM versions remain available via explicit tasks (testWithJava11, testWithJava17, etc.) used by CI matrix jobs
  • Remove all -x exclusion flags from master.yml and pull_request.yml workflows

Test plan

  • Verify ./gradlew test only runs Java 25 tests
  • Verify ./gradlew check no longer pulls in testng
  • Verify CI matrix still runs all JVM versions in parallel
  • Verify release workflow still works

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions

github-actions Bot commented Mar 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Test Report

Test Results

Java Version Total Passed Failed Errors Skipped
Java 11 5704 (±0) 5648 (±0) 0 (±0) 0 (±0) 56 (±0)
Java 17 5704 (±0) 5647 (±0) 0 (±0) 0 (±0) 57 (±0)
Java 21 5704 (±0) 5647 (±0) 0 (±0) 0 (±0) 57 (±0)
Java 25 5704 (±0) 5647 (±0) 0 (±0) 0 (±0) 57 (±0)
jcstress 32 (±0) 32 (±0) 0 (±0) 0 (±0) 0 (±0)
Total 22848 (±0) 22621 (±0) 0 (±0) 0 (±0) 227 (±0)

Code Coverage (Java 25)

Metric Covered Missed Coverage vs Master
Lines 28739 3120 90.2% ±0.0%
Branches 8351 1509 84.7% ±0.0%
Methods 7686 1222 86.3% ±0.0%

No per-class coverage changes detected.

Full HTML report: build artifact jacoco-html-report

Updated: 2026-03-11 00:38:08 UTC

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andimarek and others added 3 commits March 11, 2026 10:07
@andimarek @claude andi
Default test task to Java 25 only, require explicit tasks for other JVMs
14af362
Remove automatic dependencies that made `./gradlew test` run on all JVMs
(11, 17, 21, 25) and `check` pull in testng. Now `test` and `check` only
run on Java 25 by default. Other JVM versions are still available via
explicit tasks (testWithJava11, testWithJava17, etc.) used by CI matrix.

Simplifies CI workflow commands by removing all -x exclusion flags.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@andimarek @claude andi
Update AGENTS.md to reflect simplified test execution
6722ba8
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@andimarek @claude andi
Add CLAUDE.md pointing to AGENTS.md
5e2f2da
Co-Authored-By: Claude Opus 4.6 <[email protected]>
@andimarek
andimarek force-pushed the simplify-default-test-task branch from e26794d to 5e2f2da Compare March 11, 2026 00:07
@github-actions github-actions Bot mentioned this pull request Mar 11, 2026
CI Failure DoctorCI Failure - Run #22930078876 (PR #4330) #4332
Closed
@andimarek @claude andi
Keep -x test -x testng on check entries to avoid JaCoCo failure
06ff846
The check matrix entry runs static checks only (errorprone, etc.).
Tests run in separate parallel matrix jobs. The Gradle check lifecycle
depends on test, so we still need to exclude test/testng here.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@andimarek
andimarek force-pushed the simplify-default-test-task branch from 781c86e to 06ff846 Compare March 11, 2026 00:28
@andimarek
andimarek merged commit 04a7236 into master Mar 11, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@andimarek
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.