Try CiMate (#980)

This commit is contained in:
Nikita Salnikov-Tarnovski 2020-08-14 23:23:52 +03:00 committed by GitHub
parent 888ebe17a2
commit 08b4303d93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -34,4 +34,14 @@ jobs:
with:
command: ./gradlew testJava${{ matrix.java }} --stacktrace
timeout_minutes: 60
max_attempts: 3
max_attempts: 3
- name: Aggregate test reports with ciMate
if: always()
continue-on-error: true
env:
CIMATE_PROJECT_ID: mz1jo49x
run: |
wget -q https://get.cimate.io/release/linux/cimate
chmod +x cimate
./cimate -v "**/TEST-*.xml"

View File

@ -284,4 +284,8 @@ tasks.withType(Test).configureEach {
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
maxRetries = System.getenv("CI") != null ? 5 : 0
}
reports {
junitXml.outputPerTestCase = true
}
}