Skip to content

Commit 4be122e

Browse files
committed
adds support for CiMate tests aggregation
Signed-off-by: Oleh Dokuka <[email protected]>
1 parent 1ff3a4c commit 4be122e

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/gradle-main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,13 @@ jobs:
4141
env:
4242
bintrayUser: ${{ secrets.bintrayUser }}
4343
bintrayKey: ${{ secrets.bintrayKey }}
44-
buildNumber: ${{ github.run_number }}
44+
buildNumber: ${{ github.run_number }}
45+
- name: Aggregate test reports with ciMate
46+
if: always()
47+
continue-on-error: true
48+
env:
49+
CIMATE_PROJECT_ID: m84qx17y
50+
run: |
51+
wget -q https://get.cimate.io/release/linux/cimate
52+
chmod +x cimate
53+
./cimate "**/TEST-*.xml"

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ subprojects {
178178
println "This is the console output of the failing test below:\n$stdOutput"
179179
}
180180
}
181+
182+
reports {
183+
junitXml.outputPerTestCase = true
184+
}
181185
}
182186

183187
if (JavaVersion.current().isJava9Compatible()) {

0 commit comments

Comments
 (0)