Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/badges/jacoco-generated.svg

This file was deleted.

18 changes: 0 additions & 18 deletions .github/badges/jacoco-handwritten.svg

This file was deleted.

104 changes: 0 additions & 104 deletions .github/scripts/generate-java-coverage-badge.sh

This file was deleted.

20 changes: 1 addition & 19 deletions .github/workflows/java-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ on:
merge_group:

permissions:
contents: write
checks: write
pull-requests: write
contents: read

jobs:
java-sdk:
Expand Down Expand Up @@ -117,22 +115,6 @@ jobs:
java/target/surefire-reports-isolated/
retention-days: 1

- name: Generate JaCoCo badge
if: success() && github.ref == 'refs/heads/main' && matrix.test-jdk == '25'
working-directory: .
run: bash .github/scripts/generate-java-coverage-badge.sh java/target/site/jacoco-coverage/jacoco.csv .github/badges

- name: Create PR for JaCoCo badge update
if: success() && github.ref == 'refs/heads/main' && matrix.test-jdk == '25'
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v7
with:
commit-message: "Update Java JaCoCo coverage badge"
title: "Update Java JaCoCo coverage badge"
body: "Automated Java JaCoCo coverage badge update from CI."
branch: auto/update-java-jacoco-badge
add-paths: .github/badges/
delete-branch: true

- name: Generate Test Report Summary
if: always()
uses: ./.github/actions/java-test-report
Comment thread
brunoborges marked this conversation as resolved.
Expand Down
Loading