Skip to content

chore: only upload coverage on Java 25#139

Merged
kruton merged 1 commit into
mainfrom
more-tests
May 7, 2026
Merged

chore: only upload coverage on Java 25#139
kruton merged 1 commit into
mainfrom
more-tests

Conversation

@kruton
Copy link
Copy Markdown
Member

@kruton kruton commented May 7, 2026

No description provided.

@kruton kruton enabled auto-merge (rebase) May 7, 2026 05:00
@kruton kruton disabled auto-merge May 7, 2026 05:58
@kruton kruton merged commit 48e837e into main May 7, 2026
11 of 12 checks passed
@kruton kruton deleted the more-tests branch May 7, 2026 05:58
Copilot AI review requested due to automatic review settings May 7, 2026 06:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts CI/Gradle behavior so coverage is only uploaded once per workflow run (on Java 25), while still allowing the sshlib tests to execute under the matrix-selected JDK via Gradle toolchains.

Changes:

  • Add a jdkVersion Gradle property to select the Java toolchain launcher used by the sshlib:test task.
  • Gate the “Upload coverage to Qlty” CI step to run only on the Java 25 matrix entry.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sshlib/build.gradle.kts Configures the test task to run with a toolchain-selected JDK version from -PjdkVersion (default 17).
.github/workflows/ci.yml Uploads coverage to Qlty only when matrix.java is 25.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sshlib/build.gradle.kts
useJUnitPlatform()
javaLauncher.set(
javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(testJdkVersion.get()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants