42
42
- name : Unit tests
43
43
run : ./mill -i unitTests
44
44
- name : Convert Mill test reports to JUnit XML format
45
+ if : success() || failure()
45
46
run : .github/scripts/generate-junit-reports.sc unit-tests 'Scala CLI Unit Tests' test-report.xml out/
46
47
- name : Upload test report
47
48
uses : actions/upload-artifact@v3
66
67
env :
67
68
SCALA_CLI_IT_GROUP : 1
68
69
- name : Fat jar integration test
70
+ if : success() || failure()
69
71
run : ./mill integration.test.jvmBootstrapped 'scala.cli.integration.StandaloneLauncherTests.*'
70
72
- name : Convert Mill test reports to JUnit XML format
73
+ if : success() || failure()
71
74
run : .github/scripts/generate-junit-reports.sc jvm-tests-1 'Scala CLI JVM Tests (1)' test-report.xml out/
72
75
- name : Upload test report
73
76
uses : actions/upload-artifact@v3
92
95
env :
93
96
SCALA_CLI_IT_GROUP : 2
94
97
- name : Convert Mill test reports to JUnit XML format
98
+ if : success() || failure()
95
99
run : .github/scripts/generate-junit-reports.sc jvm-tests-2 'Scala CLI JVM Tests (2)' test-report.xml out/
96
100
- name : Upload test report
97
101
uses : actions/upload-artifact@v3
@@ -116,6 +120,7 @@ jobs:
116
120
env :
117
121
SCALA_CLI_IT_GROUP : 3
118
122
- name : Convert Mill test reports to JUnit XML format
123
+ if : success() || failure()
119
124
run : .github/scripts/generate-junit-reports.sc jvm-tests-3 'Scala CLI JVM Tests (3)' test-report.xml out/
120
125
- name : Upload test report
121
126
uses : actions/upload-artifact@v3
@@ -174,6 +179,7 @@ jobs:
174
179
SCALA_CLI_IT_GROUP : 1
175
180
SCALA_CLI_SODIUM_JNI_ALLOW : false
176
181
- name : Convert Mill test reports to JUnit XML format
182
+ if : success() || failure()
177
183
run : .github/scripts/generate-junit-reports.sc linux-tests-1 'Scala CLI Linux Tests (1)' test-report.xml out/
178
184
- name : Upload test report
179
185
uses : actions/upload-artifact@v3
@@ -206,6 +212,7 @@ jobs:
206
212
SCALA_CLI_IT_GROUP : 2
207
213
SCALA_CLI_SODIUM_JNI_ALLOW : false
208
214
- name : Convert Mill test reports to JUnit XML format
215
+ if : success() || failure()
209
216
run : .github/scripts/generate-junit-reports.sc linux-tests-2 'Scala CLI Linux Tests (2)' test-report.xml out/
210
217
- name : Upload test report
211
218
uses : actions/upload-artifact@v3
@@ -238,6 +245,7 @@ jobs:
238
245
SCALA_CLI_IT_GROUP : 3
239
246
SCALA_CLI_SODIUM_JNI_ALLOW : false
240
247
- name : Convert Mill test reports to JUnit XML format
248
+ if : success() || failure()
241
249
run : .github/scripts/generate-junit-reports.sc linux-tests-3 'Scala CLI Linux Tests (3)' test-report.xml out/
242
250
- name : Upload test report
243
251
uses : actions/upload-artifact@v3
@@ -319,6 +327,7 @@ jobs:
319
327
SCALA_CLI_IT_GROUP : 1
320
328
SCALA_CLI_SODIUM_JNI_ALLOW : false
321
329
- name : Convert Mill test reports to JUnit XML format
330
+ if : success() || failure()
322
331
run : .github/scripts/generate-junit-reports.sc macos-tests-1 'Scala CLI MacOS Tests (1)' test-report.xml out/
323
332
- name : Upload test report
324
333
uses : actions/upload-artifact@v3
@@ -351,6 +360,7 @@ jobs:
351
360
SCALA_CLI_IT_GROUP : 2
352
361
SCALA_CLI_SODIUM_JNI_ALLOW : false
353
362
- name : Convert Mill test reports to JUnit XML format
363
+ if : success() || failure()
354
364
run : .github/scripts/generate-junit-reports.sc macos-tests-2 'Scala CLI MacOS Tests (2)' test-report.xml out/
355
365
- name : Upload test report
356
366
uses : actions/upload-artifact@v3
@@ -383,6 +393,7 @@ jobs:
383
393
SCALA_CLI_IT_GROUP : 3
384
394
SCALA_CLI_SODIUM_JNI_ALLOW : false
385
395
- name : Convert Mill test reports to JUnit XML format
396
+ if : success() || failure()
386
397
run : .github/scripts/generate-junit-reports.sc macos-tests-3 'Scala CLI MacOS Tests (3)' test-report.xml out/
387
398
- name : Upload test report
388
399
uses : actions/upload-artifact@v3
@@ -444,6 +455,7 @@ jobs:
444
455
SCALA_CLI_IT_FORCED_LAUNCHER_DIRECTORY : artifacts/
445
456
SCALA_CLI_SODIUM_JNI_ALLOW : false
446
457
- name : Convert Mill test reports to JUnit XML format
458
+ if : success() || failure()
447
459
run : .github/scripts/generate-junit-reports.sc macos-m1-tests 'Scala CLI MacOS M1 Tests' test-report.xml out/
448
460
- name : Upload test report
449
461
uses : actions/upload-artifact@v3
@@ -515,6 +527,7 @@ jobs:
515
527
SCALA_CLI_IT_GROUP : 1
516
528
SCALA_CLI_SODIUM_JNI_ALLOW : false
517
529
- name : Convert Mill test reports to JUnit XML format
530
+ if : success() || failure()
518
531
run : scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-1 'Scala CLI Windows Tests (1)' test-report.xml out/
519
532
- name : Upload test report
520
533
uses : actions/upload-artifact@v3
@@ -555,6 +568,7 @@ jobs:
555
568
SCALA_CLI_IT_GROUP : 2
556
569
SCALA_CLI_SODIUM_JNI_ALLOW : false
557
570
- name : Convert Mill test reports to JUnit XML format
571
+ if : success() || failure()
558
572
run : scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-2 'Scala CLI Windows Tests (2)' test-report.xml out/
559
573
- name : Upload test report
560
574
uses : actions/upload-artifact@v3
@@ -595,6 +609,7 @@ jobs:
595
609
SCALA_CLI_IT_GROUP : 3
596
610
SCALA_CLI_SODIUM_JNI_ALLOW : false
597
611
- name : Convert Mill test reports to JUnit XML format
612
+ if : success() || failure()
598
613
run : scala-cli shebang .github/scripts/generate-junit-reports.sc windows-tests-3 'Scala CLI Windows Tests (3)' test-report.xml out/
599
614
- name : Upload test report
600
615
uses : actions/upload-artifact@v3
@@ -652,8 +667,10 @@ jobs:
652
667
SCALA_CLI_IT_GROUP : 1
653
668
SCALA_CLI_SODIUM_JNI_ALLOW : false
654
669
- name : Docker integration tests
670
+ if : success() || failure()
655
671
run : ./mill integration.docker-slim.test
656
672
- name : Convert Mill test reports to JUnit XML format
673
+ if : success() || failure()
657
674
run : .github/scripts/generate-junit-reports.sc native-mostly-static-tests-1 'Scala CLI Native Mostly Static Tests (1)' test-report.xml out/
658
675
- name : Upload test report
659
676
uses : actions/upload-artifact@v3
@@ -695,6 +712,7 @@ jobs:
695
712
SCALA_CLI_IT_GROUP : 2
696
713
SCALA_CLI_SODIUM_JNI_ALLOW : false
697
714
- name : Convert Mill test reports to JUnit XML format
715
+ if : success() || failure()
698
716
run : .github/scripts/generate-junit-reports.sc native-mostly-static-tests-2 'Scala CLI Native Mostly Static Tests (2)' test-report.xml out/
699
717
- name : Upload test report
700
718
uses : actions/upload-artifact@v3
@@ -727,6 +745,7 @@ jobs:
727
745
SCALA_CLI_IT_GROUP : 3
728
746
SCALA_CLI_SODIUM_JNI_ALLOW : false
729
747
- name : Convert Mill test reports to JUnit XML format
748
+ if : success() || failure()
730
749
run : .github/scripts/generate-junit-reports.sc native-mostly-static-tests-3 'Scala CLI Native Mostly Static Tests (3)' test-report.xml out/
731
750
- name : Upload test report
732
751
uses : actions/upload-artifact@v3
@@ -784,8 +803,10 @@ jobs:
784
803
SCALA_CLI_IT_GROUP : 1
785
804
SCALA_CLI_SODIUM_JNI_ALLOW : false
786
805
- name : Docker integration tests
806
+ if : success() || failure()
787
807
run : ./mill integration.docker.test
788
808
- name : Convert Mill test reports to JUnit XML format
809
+ if : success() || failure()
789
810
run : .github/scripts/generate-junit-reports.sc native-static-tests-1 'Scala CLI Native Static Tests (1)' test-report.xml out/
790
811
- name : Upload test report
791
812
uses : actions/upload-artifact@v3
@@ -829,6 +850,7 @@ jobs:
829
850
SCALA_CLI_IT_GROUP : 2
830
851
SCALA_CLI_SODIUM_JNI_ALLOW : false
831
852
- name : Convert Mill test reports to JUnit XML format
853
+ if : success() || failure()
832
854
run : .github/scripts/generate-junit-reports.sc native-static-tests-2 'Scala CLI Native Static Tests (2)' test-report.xml out/
833
855
- name : Upload test report
834
856
uses : actions/upload-artifact@v3
@@ -863,6 +885,7 @@ jobs:
863
885
SCALA_CLI_IT_GROUP : 3
864
886
SCALA_CLI_SODIUM_JNI_ALLOW : false
865
887
- name : Convert Mill test reports to JUnit XML format
888
+ if : success() || failure()
866
889
run : .github/scripts/generate-junit-reports.sc native-static-tests-3 'Scala CLI Native Static Tests (3)' test-report.xml out/
867
890
- name : Upload test report
868
891
uses : actions/upload-artifact@v3
@@ -890,6 +913,7 @@ jobs:
890
913
- name : Test documentation
891
914
run : ./mill -i docs-tests.test
892
915
- name : Convert Mill test reports to JUnit XML format
916
+ if : success() || failure()
893
917
run : .github/scripts/generate-junit-reports.sc docs-tests 'Scala CLI Docs Tests' test-report.xml out/
894
918
- name : Upload test report
895
919
uses : actions/upload-artifact@v3
0 commit comments