Skip to content

Commit 187101a

Browse files
Update JUnit Report Action Config
1 parent 4de91b3 commit 187101a

File tree

1 file changed

+51
-34
lines changed

1 file changed

+51
-34
lines changed

.github/workflows/kotlin.yml

Lines changed: 51 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,11 @@ jobs:
219219

220220
# Report as GitHub Pull Request Check.
221221
- name: Publish Test Report
222-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
223-
if: always() # always run even if the previous step fails
222+
uses: mikepenz/action-junit-report@v5
223+
if: failure() # always run even if the previous step fails
224224
with:
225225
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
226+
annotate_only: true # no write check perms on this workflow right now.
226227

227228
unit-drainExclusive-runtime-tests:
228229
name: DEA Unit Tests
@@ -242,10 +243,11 @@ jobs:
242243

243244
# Report as GitHub Pull Request Check.
244245
- name: Publish Test Report
245-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
246-
if: always() # always run even if the previous step fails
246+
uses: mikepenz/action-junit-report@v5
247+
if: failure() # always run even if the previous step fails
247248
with:
248249
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
250+
annotate_only: true # no write check perms on this workflow right now.
249251

250252
unit-conflate-runtime-tests:
251253
name: CSR Unit Tests
@@ -265,10 +267,11 @@ jobs:
265267

266268
# Report as GitHub Pull Request Check.
267269
- name: Publish Test Report
268-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
269-
if: always() # always run even if the previous step fails
270+
uses: mikepenz/action-junit-report@v5
271+
if: failure() # always run even if the previous step fails
270272
with:
271273
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
274+
annotate_only: true # no write check perms on this workflow right now.
272275

273276
unit-stateChange-runtime-tests:
274277
name: SCO Unit Tests
@@ -288,10 +291,11 @@ jobs:
288291

289292
# Report as GitHub Pull Request Check.
290293
- name: Publish Test Report
291-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
292-
if: always() # always run even if the previous step fails
294+
uses: mikepenz/action-junit-report@v5
295+
if: failure() # always run even if the previous step fails
293296
with:
294297
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
298+
annotate_only: true # no write check perms on this workflow right now.
295299

296300
unit-stable-handlers-tests:
297301
name: SEH Unit Tests
@@ -311,10 +315,11 @@ jobs:
311315

312316
# Report as GitHub Pull Request Check.
313317
- name: Publish Test Report
314-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
315-
if: always() # always run even if the previous step fails
318+
uses: mikepenz/action-junit-report@v5
319+
if: failure() # always run even if the previous step fails
316320
with:
317321
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
322+
annotate_only: true # no write check perms on this workflow right now.
318323

319324
unit-partial-runtime-tests:
320325
name: PTR Unit Tests
@@ -334,10 +339,11 @@ jobs:
334339

335340
# Report as GitHub Pull Request Check.
336341
- name: Publish Test Report
337-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
338-
if: always() # always run even if the previous step fails
342+
uses: mikepenz/action-junit-report@v5
343+
if: failure() # always run even if the previous step fails
339344
with:
340345
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
346+
annotate_only: true # no write check perms on this workflow right now.
341347

342348
unit-conflate-stateChange-runtime-tests:
343349
name: SCO, CSR Unit Tests
@@ -357,10 +363,11 @@ jobs:
357363

358364
# Report as GitHub Pull Request Check.
359365
- name: Publish Test Report
360-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
361-
if: always() # always run even if the previous step fails
366+
uses: mikepenz/action-junit-report@v5
367+
if: failure() # always run even if the previous step fails
362368
with:
363369
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
370+
annotate_only: true # no write check perms on this workflow right now.
364371

365372
unit-conflate-partial-runtime-tests:
366373
name: CSR, PTR Unit Tests
@@ -380,10 +387,11 @@ jobs:
380387

381388
# Report as GitHub Pull Request Check.
382389
- name: Publish Test Report
383-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
384-
if: always() # always run even if the previous step fails
390+
uses: mikepenz/action-junit-report@v5
391+
if: failure() # always run even if the previous step fails
385392
with:
386393
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
394+
annotate_only: true # no write check perms on this workflow right now.
387395

388396
unit-conflate-drainExclusive-runtime-tests:
389397
name: CSR, DEA Unit Tests
@@ -403,10 +411,11 @@ jobs:
403411

404412
# Report as GitHub Pull Request Check.
405413
- name: Publish Test Report
406-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
407-
if: always() # always run even if the previous step fails
414+
uses: mikepenz/action-junit-report@v5
415+
if: failure() # always run even if the previous step fails
408416
with:
409417
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
418+
annotate_only: true # no write check perms on this workflow right now.
410419

411420
unit-stateChange-drainExclusive-runtime-tests:
412421
name: SCO, DEA Unit Tests
@@ -426,10 +435,11 @@ jobs:
426435

427436
# Report as GitHub Pull Request Check.
428437
- name: Publish Test Report
429-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
430-
if: always() # always run even if the previous step fails
438+
uses: mikepenz/action-junit-report@v5
439+
if: failure() # always run even if the previous step fails
431440
with:
432441
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
442+
annotate_only: true # no write check perms on this workflow right now.
433443

434444
unit-partial-drainExclusive-runtime-tests:
435445
name: PTR, DEA Unit Tests
@@ -449,10 +459,11 @@ jobs:
449459

450460
# Report as GitHub Pull Request Check.
451461
- name: Publish Test Report
452-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
453-
if: always() # always run even if the previous step fails
462+
uses: mikepenz/action-junit-report@v5
463+
if: failure() # always run even if the previous step fails
454464
with:
455465
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
466+
annotate_only: true # no write check perms on this workflow right now.
456467

457468
unit-conflate-stateChange-drainExclusive-runtime-tests:
458469
name: SCO, CSR, DEA Unit Tests
@@ -472,10 +483,11 @@ jobs:
472483

473484
# Report as GitHub Pull Request Check.
474485
- name: Publish Test Report
475-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
476-
if: always() # always run even if the previous step fails
486+
uses: mikepenz/action-junit-report@v5
487+
if: failure() # always run even if the previous step fails
477488
with:
478489
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
490+
annotate_only: true # no write check perms on this workflow right now.
479491

480492
unit-conflate-partial-drainExclusive-runtime-tests:
481493
name: CSR, PTR, DEA Unit Tests
@@ -494,10 +506,11 @@ jobs:
494506

495507
# Report as GitHub Pull Request Check.
496508
- name: Publish Test Report
497-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
498-
if: always() # always run even if the previous step fails
509+
uses: mikepenz/action-junit-report@v5
510+
if: failure() # always run even if the previous step fails
499511
with:
500512
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
513+
annotate_only: true # no write check perms on this workflow right now.
501514
failure-upload-name: 'csr-ptr-dea-unit-tests-report'
502515

503516
unit-all-runtime-tests:
@@ -518,10 +531,11 @@ jobs:
518531

519532
# Report as GitHub Pull Request Check.
520533
- name: Publish Test Report
521-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
522-
if: always() # always run even if the previous step fails
534+
uses: mikepenz/action-junit-report@v5
535+
if: failure() # always run even if the previous step fails
523536
with:
524537
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
538+
annotate_only: true # no write check perms on this workflow right now.
525539

526540
kmp-jvm-tests:
527541
name: JVM Unit Tests for KMP Modules
@@ -541,10 +555,11 @@ jobs:
541555

542556
# Report as GitHub Pull Request Check.
543557
- name: Publish Test Report
544-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
545-
if: always() # always run even if the previous step fails
558+
uses: mikepenz/action-junit-report@v5
559+
if: failure() # always run even if the previous step fails
546560
with:
547561
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
562+
annotate_only: true # no write check perms on this workflow right now.
548563

549564
kmp-ios-tests:
550565
name: iOS Unit Tests for KMP Modules
@@ -564,10 +579,11 @@ jobs:
564579

565580
# Report as GitHub Pull Request Check.
566581
- name: Publish Test Report
567-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
568-
if: always() # always run even if the previous step fails
582+
uses: mikepenz/action-junit-report@v5
583+
if: failure() # always run even if the previous step fails
569584
with:
570585
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
586+
annotate_only: true # no write check perms on this workflow right now.
571587

572588
kmp-js-tests:
573589
name: JS Unit Tests for KMP Modules
@@ -588,10 +604,11 @@ jobs:
588604

589605
# Report as GitHub Pull Request Check.
590606
- name: Publish Test Report
591-
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4
592-
if: always() # always run even if the previous step fails
607+
uses: mikepenz/action-junit-report@v5
608+
if: failure() # always run even if the previous step fails
593609
with:
594610
report_paths: '**/build/test-results/*[tT]est/TEST-*.xml'
611+
annotate_only: true # no write check perms on this workflow right now.
595612

596613
performance-tests:
597614
name: Performance tests

0 commit comments

Comments
 (0)