Skip to content

Commit

Permalink
disable useJUnitPlatform for JUnit 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Aug 17, 2024
1 parent 1787aa8 commit dc34d5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Run tests
run: ./gradlew --no-daemon clean jacocoTestReport --info
run: ./gradlew --no-daemon clean jacocoTestReport
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
Expand Down
13 changes: 9 additions & 4 deletions parse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,18 @@ tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
testLogging {
events "failed"
events "PASSED", "SKIPPED", "FAILED"
showStandardStreams true
showExceptions true
showCauses true
showStackTraces true
exceptionFormat "full"
}
}

tasks.withType(Test) {
useJUnitPlatform()
}
// tasks.withType(Test) {
// useJUnitPlatform()
// }

jacocoAndroidUnitTestReport {
csv.enabled false
Expand Down

0 comments on commit dc34d5e

Please sign in to comment.