Skip to content

Commit dc34d5e

Browse files
committed
disable useJUnitPlatform for JUnit 4
1 parent 1787aa8 commit dc34d5e

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
path: ~/.gradle/wrapper
6666
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
6767
- name: Run tests
68-
run: ./gradlew --no-daemon clean jacocoTestReport --info
68+
run: ./gradlew --no-daemon clean jacocoTestReport
6969
- name: Upload code coverage
7070
uses: codecov/codecov-action@v4
7171
with:

parse/build.gradle

+9-4
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,18 @@ tasks.withType(Test) {
8585
jacoco.includeNoLocationClasses = true
8686
jacoco.excludes = ['jdk.internal.*']
8787
testLogging {
88-
events "failed"
88+
events "PASSED", "SKIPPED", "FAILED"
89+
showStandardStreams true
90+
showExceptions true
91+
showCauses true
92+
showStackTraces true
93+
exceptionFormat "full"
8994
}
9095
}
9196

92-
tasks.withType(Test) {
93-
useJUnitPlatform()
94-
}
97+
// tasks.withType(Test) {
98+
// useJUnitPlatform()
99+
// }
95100

96101
jacocoAndroidUnitTestReport {
97102
csv.enabled false

0 commit comments

Comments
 (0)