@@ -155,7 +155,16 @@ jobs:
155
155
with :
156
156
name : composite_logs
157
157
path : utbot-framework/logs/*
158
-
158
+
159
+ - name : Upload generated tests
160
+ if : ${{ always() }}
161
+ uses : actions/upload-artifact@v2
162
+ with :
163
+ name : composite_generated_tests
164
+ path : |
165
+ tmp/UTBot/**.java
166
+ tmp/UTBot/**.kt
167
+
159
168
- name : Upload test report if tests have failed
160
169
if : ${{ failure() }}
161
170
uses : actions/upload-artifact@v2
@@ -216,7 +225,16 @@ jobs:
216
225
with :
217
226
name : collections_part1_logs
218
227
path : utbot-framework/logs/*
219
-
228
+
229
+ - name : Upload generated tests
230
+ if : ${{ always() }}
231
+ uses : actions/upload-artifact@v2
232
+ with :
233
+ name : collections_part1_generated_tests
234
+ path : |
235
+ tmp/UTBot/**.java
236
+ tmp/UTBot/**.kt
237
+
220
238
- name : Upload test report if tests have failed
221
239
if : ${{ failure() }}
222
240
uses : actions/upload-artifact@v2
@@ -273,7 +291,16 @@ jobs:
273
291
with :
274
292
name : collections_part2_logs
275
293
path : utbot-framework/logs/*
276
-
294
+
295
+ - name : Upload generated tests
296
+ if : ${{ always() }}
297
+ uses : actions/upload-artifact@v2
298
+ with :
299
+ name : collections_part2_generated_tests
300
+ path : |
301
+ tmp/UTBot/**.java
302
+ tmp/UTBot/**.kt
303
+
277
304
- name : Upload test report if tests have failed
278
305
if : ${{ failure() }}
279
306
uses : actions/upload-artifact@v2
@@ -332,7 +359,16 @@ jobs:
332
359
with :
333
360
name : collections_part3_logs
334
361
path : utbot-framework/logs/*
335
-
362
+
363
+ - name : Upload generated tests
364
+ if : ${{ always() }}
365
+ uses : actions/upload-artifact@v2
366
+ with :
367
+ name : collections_part3_generated_tests
368
+ path : |
369
+ tmp/UTBot/**.java
370
+ tmp/UTBot/**.kt
371
+
336
372
- name : Upload test report if tests have failed
337
373
if : ${{ failure() }}
338
374
uses : actions/upload-artifact@v2
@@ -393,7 +429,16 @@ jobs:
393
429
with :
394
430
name : examples_part1_logs
395
431
path : utbot-framework/logs/*
396
-
432
+
433
+ - name : Upload generated tests
434
+ if : ${{ always() }}
435
+ uses : actions/upload-artifact@v2
436
+ with :
437
+ name : examples_part1_generated_tests
438
+ path : |
439
+ tmp/UTBot/**.java
440
+ tmp/UTBot/**.kt
441
+
397
442
- name : Upload test report if tests have failed
398
443
if : ${{ failure() }}
399
444
uses : actions/upload-artifact@v2
@@ -455,7 +500,16 @@ jobs:
455
500
with :
456
501
name : examples_part2_logs
457
502
path : utbot-framework/logs/*
458
-
503
+
504
+ - name : Upload generated tests
505
+ if : ${{ always() }}
506
+ uses : actions/upload-artifact@v2
507
+ with :
508
+ name : examples_part2_generated_tests
509
+ path : |
510
+ tmp/UTBot/**.java
511
+ tmp/UTBot/**.kt
512
+
459
513
- name : Upload test report if tests have failed
460
514
if : ${{ failure() }}
461
515
uses : actions/upload-artifact@v2
@@ -516,7 +570,16 @@ jobs:
516
570
with :
517
571
name : examples_part3_logs
518
572
path : utbot-framework/logs/*
519
-
573
+
574
+ - name : Upload generated tests
575
+ if : ${{ always() }}
576
+ uses : actions/upload-artifact@v2
577
+ with :
578
+ name : examples_part3_generated_tests
579
+ path : |
580
+ tmp/UTBot/**.java
581
+ tmp/UTBot/**.kt
582
+
520
583
- name : Upload test report if tests have failed
521
584
if : ${{ failure() }}
522
585
uses : actions/upload-artifact@v2
@@ -578,7 +641,16 @@ jobs:
578
641
with :
579
642
name : examples_part4_logs
580
643
path : utbot-framework/logs/*
581
-
644
+
645
+ - name : Upload generated tests
646
+ if : ${{ always() }}
647
+ uses : actions/upload-artifact@v2
648
+ with :
649
+ name : examples_part4_generated_tests
650
+ path : |
651
+ tmp/UTBot/**.java
652
+ tmp/UTBot/**.kt
653
+
582
654
- name : Upload test report if tests have failed
583
655
if : ${{ failure() }}
584
656
uses : actions/upload-artifact@v2
@@ -633,8 +705,17 @@ jobs:
633
705
uses : actions/upload-artifact@v2
634
706
with :
635
707
name : examples_lists_logs
636
- path : utbot-framework/logs/*
637
-
708
+ path : utbot-framework/logs/
709
+
710
+ - name : Upload generated tests
711
+ if : ${{ always() }}
712
+ uses : actions/upload-artifact@v2
713
+ with :
714
+ name : examples_lists_generated_tests
715
+ path : |
716
+ tmp/UTBot/**.java
717
+ tmp/UTBot/**.kt
718
+
638
719
- name : Upload test report if tests have failed
639
720
if : ${{ failure() }}
640
721
uses : actions/upload-artifact@v2
@@ -690,7 +771,16 @@ jobs:
690
771
with :
691
772
name : examples_maps_logs
692
773
path : utbot-framework/logs/*
693
-
774
+
775
+ - name : Upload generated tests
776
+ if : ${{ always() }}
777
+ uses : actions/upload-artifact@v2
778
+ with :
779
+ name : examples_maps_generated_tests
780
+ path : |
781
+ tmp/UTBot/**.java
782
+ tmp/UTBot/**.kt
783
+
694
784
- name : Upload test report if tests have failed
695
785
if : ${{ failure() }}
696
786
uses : actions/upload-artifact@v2
@@ -746,7 +836,16 @@ jobs:
746
836
with :
747
837
name : examples_strings_logs
748
838
path : utbot-framework/logs/*
749
-
839
+
840
+ - name : Upload generated tests
841
+ if : ${{ always() }}
842
+ uses : actions/upload-artifact@v2
843
+ with :
844
+ name : examples_strings_generated_tests
845
+ path : |
846
+ tmp/UTBot/**.java
847
+ tmp/UTBot/**.kt
848
+
750
849
- name : Upload test report if tests have failed
751
850
if : ${{ failure() }}
752
851
uses : actions/upload-artifact@v2
@@ -1053,7 +1152,7 @@ jobs:
1053
1152
if : ${{ failure() }}
1054
1153
uses : actions/upload-artifact@v2
1055
1154
with :
1056
- name : junit-contest_tests_report
1155
+ name : junit_contest_tests_report
1057
1156
path : utbot-junit-contest/build/reports/tests/test/*
1058
1157
1059
1158
@@ -1151,7 +1250,7 @@ jobs:
1151
1250
with :
1152
1251
name : summary-tests_logs
1153
1252
path : utbot-summary-tests/logs/*
1154
-
1253
+
1155
1254
- name : Upload test report if tests have failed
1156
1255
if : ${{ failure() }}
1157
1256
uses : actions/upload-artifact@v2
0 commit comments