Show failed tests in CI
This commit is contained in:
parent
e10ed36838
commit
9d42cee5e3
2 changed files with 15 additions and 0 deletions
8
.github/workflows/pull-request.yml
vendored
8
.github/workflows/pull-request.yml
vendored
|
@ -15,6 +15,14 @@ jobs:
|
|||
uses: gradle/gradle-build-action@v2
|
||||
- name: Run checks with Gradle Wrapper
|
||||
run: ./gradlew --no-daemon --no-configuration-cache check
|
||||
- name: Publish JUnit Results
|
||||
uses: dorny/test-reporter@v1
|
||||
if: always()
|
||||
with:
|
||||
name: Unit Tests
|
||||
path: "*/build/test-results/test/*.xml"
|
||||
reporter: java-junit
|
||||
fail-on-error: true
|
||||
# automerge:
|
||||
# name: Enable automerge
|
||||
# runs-on: ubuntu-latest
|
||||
|
|
|
@ -50,3 +50,10 @@ tasks.shadowJar {
|
|||
tasks.getByName<Test>("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
reports {
|
||||
junitXml.required.set(true)
|
||||
html.required.set(false)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue