test: add jacoco

This commit is contained in:
ReaJason
2024-11-24 13:32:05 +08:00
parent bbeff2726d
commit 65c9d5847d
3 changed files with 30 additions and 1 deletions
+6 -1
View File
@@ -17,4 +17,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew test
run: ./gradlew test
- name: Generate JaCoCo Badge
uses: cicirello/jacoco-badge-generator@v2
with:
generate-branches-badge: true
jacoco-csv-file: generator/build/reports/jacoco/test/jacocoTestReport.csv