-
-
Notifications
You must be signed in to change notification settings - Fork 512
673 lines (644 loc) · 23.9 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
name: 🔬 Test
run-name: 🔬 Test ${{ github.sha }}
#on: workflow_call
on:
push:
branches:
- master
- manticore-*
paths-ignore:
- 'manual/**'
- 'cmake/GetGALERA.cmake'
- 'galera_packaging/**'
pull_request:
branches: [ master, update-buddy-version ]
paths-ignore:
- 'manual/**'
- 'cmake/GetGALERA.cmake'
- 'galera_packaging/**'
types: [opened, synchronize, reopened, labeled, unlabeled]
# cancels the previous workflow run when a new one appears in the same branch (e.g. master or a PR's branch)
concurrency:
group: test_${{ github.ref }}
cancel-in-progress: true
jobs:
commit_info:
name: Commit info
runs-on: ubuntu-22.04
steps:
- run: |
echo "# Automated Tests of commit ${{ github.sha }}" >> $GITHUB_STEP_SUMMARY
echo "* Commit URL: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})" >> $GITHUB_STEP_SUMMARY
echo "* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})" >> $GITHUB_STEP_SUMMARY
echo "* Ref: ${{ github.ref_type }} \"${{ github.ref_name }}\"" >> $GITHUB_STEP_SUMMARY
echo "* Attempt: ${{ github.run_attempt }}" >> $GITHUB_STEP_SUMMARY
changes:
name: Detect changes in commit
runs-on: ubuntu-22.04
outputs:
source: ${{ steps.filter.outputs.source }}
test: ${{ steps.filter.outputs.test }}
clt: ${{ steps.filter.outputs.clt }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
source:
- '**'
- '!.github/**'
- '!manual/**'
- '!doc/**'
- '!test/**'
test:
- 'test/**'
- '!test/clt-tests/**'
clt:
- 'test/clt-tests/**'
win_bundle:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: Windows supplementary files preparation
runs-on: ubuntu-22.04
steps:
- name: Check out cache
id: cache
uses: actions/[email protected]
with:
path: |
bundle
boost_1_75_0
enableCrossOsArchive: true
key: win_bundle
lookup-only: true
- name: Extract Windows bundle from Windows sysroot
if: steps.cache.outputs.cache-hit != 'true'
run: |
wget https://repo.manticoresearch.com/repository/sysroots/roots_apr15/sysroot_windows_x64.tar.xz
tar -xvf sysroot_windows_x64.tar.xz
mv diskc/winbundle bundle
- name: Extract Boost to put it to the cache
if: steps.cache.outputs.cache-hit != 'true'
run: |
wget https://repo.manticoresearch.com/repository/ci/boost_1_75_0.tgz
tar -xf boost_1_75_0.tgz
build_linux_debug:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: Linux debug build
uses: ./.github/workflows/build_template.yml
with:
CTEST_CONFIGURATION_TYPE: "Debug"
artifact_name: debug_build
test_linux_debug:
if: (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Linux debug mode tests
needs: build_linux_debug
uses: ./.github/workflows/test_template.yml
strategy:
fail-fast: false
matrix:
name: [1_100, 101_200, 201_330, 331_400, 401_500, 501_600, 601_700, 701_800, 801_870, 871_and_on]
include:
- name: 1_100
start: 1
end: 100
- name: 101_200
start: 101
end: 200
- name: 201_330
start: 201
end: 330
- name: 331_400
start: 331
end: 400
- name: 401_500
start: 401
end: 500
- name: 501_600
start: 501
end: 600
- name: 601_700
start: 601
end: 700
- name: 701_800
start: 701
end: 800
- name: 801_870
start: 801
end: 870
- name: 871_and_on
start: 871
end: 999999
with:
CTEST_START: ${{ matrix.start }}
CTEST_END: ${{ matrix.end }}
build_artifact_name: debug_build
artifact_name: debug_test_${{ matrix.name }}
xml_command: "cd build; cp -r Testing/2*/Test.xml .; xsltproc -o junit_tests_${{ matrix.name }}.xml ../misc/junit/ctest2junit.xsl Test.xml"
timeout: 10
debug_tests_report:
if: (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Debug mode tests summary and report
needs: test_linux_debug
runs-on: ubuntu-22.04
steps:
- name: Checkout repository # We have to checkout to access .github/workflows/ in further steps
uses: actions/checkout@v3
- name: Download test report artifacts 1_100
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_1_100
path: .
- name: Download test report artifacts 101_200
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_101_200
path: .
- name: Download test report artifacts 201_330
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_201_330
path: .
- name: Download test report artifacts 331_400
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_331_400
path: .
- name: Download test report artifacts 401_500
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_401_500
path: .
- name: Download test report artifacts 501_600
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_501_600
path: .
- name: Download test report artifacts 601_700
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_601_700
path: .
- name: Download test report artifacts 701_800
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_701_800
path: .
- name: Download test report artifacts 801_870
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_801_870
path: .
- name: Download test report artifacts 871_and_on
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: debug_test_871_and_on
path: .
- name: Publish test results
uses: manticoresoftware/publish-unit-test-result-action@v2
continue-on-error: true
with:
check_name: Linux debug test results
files: build/junit*.xml
compare_to_earlier_commit: false
comment_mode: failures
- name: Per-test results
# IMPORTANT: The value of 10 below should correspond to the test shard count, needs.<job_name>.strategy.job-total doesn't work
run: |
for file in build/status*; do echo -n "$file: "; cat "$file"; done
grep -o "success" build/status* | wc -l | awk '{if ($1==10) exit 0; else {print "Found only "$1" successful runs out of 10"; exit 1}}'
shell: bash
- name: Upload combined artifacts
if: always()
continue-on-error: true
uses: manticoresoftware/upload_artifact_with_retries@v3
with:
name: debug_test_resuls
path: build
build_linux_release:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: Linux release build
uses: ./.github/workflows/build_template.yml
with:
artifact_name: release_build
test_linux_release:
if: (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Linux release mode tests
needs: build_linux_release
uses: ./.github/workflows/test_template.yml
strategy:
fail-fast: false
matrix:
name: [1_100, 101_200, 201_330, 331_400, 401_500, 501_600, 601_700, 701_800, 801_870, 871_and_on]
include:
- name: 1_100
start: 1
end: 100
- name: 101_200
start: 101
end: 200
- name: 201_330
start: 201
end: 330
- name: 331_400
start: 331
end: 400
- name: 401_500
start: 401
end: 500
- name: 501_600
start: 501
end: 600
- name: 601_700
start: 601
end: 700
- name: 701_800
start: 701
end: 800
- name: 801_870
start: 801
end: 870
- name: 871_and_on
start: 871
end: 999999
with:
CTEST_START: ${{ matrix.start }}
CTEST_END: ${{ matrix.end }}
build_artifact_name: release_build
artifact_name: release_test_${{ matrix.name }}
xml_command: "cd build; cp -r Testing/2*/Test.xml .; xsltproc -o junit_tests_${{ matrix.name }}.xml ../misc/junit/ctest2junit.xsl Test.xml"
timeout: 10
release_tests_report:
if: (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Release mode tests summary and report
needs: test_linux_release
runs-on: ubuntu-22.04
steps:
- name: Checkout repository # We have to checkout to access .github/workflows/ in further steps
uses: actions/checkout@v3
- name: Download test report artifacts 1_100
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_1_100
path: .
- name: Download test report artifacts 101_200
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_101_200
path: .
- name: Download test report artifacts 201_330
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_201_330
path: .
- name: Download test report artifacts 331_400
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_331_400
path: .
- name: Download test report artifacts 401_500
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_401_500
path: .
- name: Download test report artifacts 501_600
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_501_600
path: .
- name: Download test report artifacts 601_700
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_601_700
path: .
- name: Download test report artifacts 701_800
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_701_800
path: .
- name: Download test report artifacts 801_870
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_801_870
path: .
- name: Download test report artifacts 871_and_on
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: release_test_871_and_on
path: .
- name: Publish test results
uses: manticoresoftware/publish-unit-test-result-action@v2
continue-on-error: true
with:
check_name: Linux release test results
files: build/junit*.xml
compare_to_earlier_commit: false
comment_mode: failures
- name: Per-test results
# IMPORTANT: The value of 10 below should correspond to the test shard count, needs.<job_name>.strategy.job-total doesn't work
run: |
for file in build/status*; do echo -n "$file: "; cat "$file"; done
grep -o "success" build/status* | wc -l | awk '{if ($1==10) exit 0; else {print "Found only "$1" successful runs out of 10"; exit 1}}'
shell: bash
- name: Upload combined artifacts
if: always()
continue-on-error: true
uses: manticoresoftware/upload_artifact_with_retries@v3
with:
name: release_test_resuls
path: build
pack_jammy_cache_check:
needs: changes
name: Jammy x86_64 package [check cache]
runs-on: ubuntu-22.04
outputs:
cache-key: ${{ steps.generate-key.outputs.cache-key }}
cache-hit: ${{ steps.cache.outputs.cache-hit }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Generate cache key
id: generate-key
run: |
if [ "${{ github.event_name }}" == "pull_request" ]; then
branch=${{ github.head_ref }}
else
branch=$(git rev-parse --abbrev-ref HEAD)
fi
cache_key="jammy-build-${branch}"
echo "cache-key=${cache_key}" >> $GITHUB_OUTPUT
- name: Set up cache
id: cache
uses: actions/cache@v4
with:
path: build
key: ${{ steps.generate-key.outputs.cache-key }}
- name: Override cache hit
id: override-cache-hit
run: |
if [ "${{ needs.changes.outputs.source }}" == "true" ]; then
echo "cache-hit=false" >> $GITHUB_OUTPUT
fi
- name: Upload build artifacts from cache
if: ${{ steps.cache.outputs.cache-hit == 'true' }}
uses: manticoresoftware/upload_artifact_with_retries@v3
with:
name: build_jammy_RelWithDebInfo_x86_64
path: "build/manticore*deb"
pack_jammy:
needs: pack_jammy_cache_check
if: |
needs.pack_jammy_cache_check.outputs.cache-hit != 'true' ||
needs.changes.outputs.source == 'true'
name: Jammy x86_64 package [build]
uses: ./.github/workflows/build_template.yml
with:
DISTR: jammy
arch: x86_64
cmake_command: |
mkdir build
cd build
cmake -DPACK=1 ..
cmake --build . --target package
cache_key: pack_jammy_x86_64
artifact_list: "build/manticore*deb"
pack_jammy_cache_update:
if: (needs.pack_jammy_cache_check.outputs.cache-hit != 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Jammy x86_64 package [update cache]
needs: [pack_jammy, pack_jammy_cache_check]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository # We have to checkout to access .github/workflows/ in further steps
uses: actions/checkout@v3
- name: Download built x86_64 Ubuntu Jammy packages
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: build_jammy_RelWithDebInfo_x86_64
path: .
- name: Save cache
uses: actions/cache@v4
with:
path: build
key: ${{ needs.pack_jammy_cache_check.outputs.cache-key }}
test_kit_docker_build:
name: Test Kit docker image
needs: [pack_jammy, pack_jammy_cache_check]
if: always() && needs.pack_jammy.result != 'failure'
runs-on: ubuntu-22.04
outputs:
out-build: ${{ steps.build.outputs.build_image }}
steps:
- name: Checkout repository # We have to checkout to access .github/workflows/ in further steps
uses: actions/checkout@v3
- name: Download built x86_64 Ubuntu Jammy packages
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: build_jammy_RelWithDebInfo_x86_64
path: .
# Uncomment this shortcut for debug to save time by not preparing the packages in the pack_jammy job
# - run: |
# wget http://dev2.manticoresearch.com/build_jammy_RelWithDebInfo_x86_64.zip
# unzip build_jammy_RelWithDebInfo_x86_64.zip
# tar -xvf artifact.tar
- name: Calculate short commit hash
id: sha
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Building docker
id: build
run: |
BUILD_COMMIT=${{ steps.sha.outputs.sha_short }} /bin/bash dist/test_kit_docker_build.sh
echo "build_image=ghcr.io/$REPO_OWNER/manticoresearch:test-kit-${{ steps.sha.outputs.sha_short }}" >> $GITHUB_OUTPUT
- name: Upload docker image artifact
uses: manticoresoftware/upload_artifact_with_retries@v3
with:
name: manticore_test_kit.img
path: manticore_test_kit.img
clt:
if: always() && needs.test_kit_docker_build.result != 'failure'
name: CLT
needs: test_kit_docker_build
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
test-suite:
- name: Core
test_prefix: |-
test/clt-tests/core/
test/clt-tests/expected-errors/
- name: mysqldump
test_prefix: |-
test/clt-tests/mysqldump/mysql/
test/clt-tests/mysqldump/maria/
- name: Replication
test_prefix: test/clt-tests/replication/
- name: Plugins
test_prefix: test/clt-tests/plugins/
- name: Buddy
test_prefix: test/clt-tests/buddy/
- name: Update
test_prefix: test/clt-tests/optimisation-and-update/
steps:
- uses: manticoresoftware/[email protected]
with:
artifact: manticore_test_kit.img
image: test-kit:img
test_prefix: ${{ matrix.test-suite.test_prefix }}
comment_mode: failures
test_kit_docker_push:
if: always() && needs.changes.outputs.source == 'true'
needs:
- changes
- clt
name: Push Test Kit docker image to repo
runs-on: ubuntu-22.04
env:
GHCR_USER: ${{ secrets.GHCR_USER }}
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
REPO_OWNER: ${{ github.repository_owner }}
steps:
- name: Checkout repository # We have to checkout to access .github/workflows/ in further steps
uses: actions/checkout@v3
- name: Download artifact
uses: manticoresoftware/download_artifact_with_retries@main
with:
name: manticore_test_kit.img
path: .
- name: Calculate short commit hash
id: sha
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Pushing docker image to repo
id: test-kit-push
run: |
TEST_RESULT=${{ needs.clt.result }} BUILD_COMMIT=${{ steps.sha.outputs.sha_short }} /bin/bash dist/test_kit_docker_push.sh
build_aarch64:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: Linux aarch64 build
uses: ./.github/workflows/build_template.yml
with:
arch: aarch64
cmake_command: mkdir build && cd build && ctest -VV -S ../misc/ctest/justbuild.cmake -DCTEST_SOURCE_DIRECTORY=.. --no-compress-output
cache_key: build_jammy_aarch64
build_freebsd:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: FreeBSD x86_64 build
uses: ./.github/workflows/build_template.yml
with:
DISTR: freebsd13
boost_url_key: none
cmake_command: mkdir build && cd build && ctest -VV -S ../misc/ctest/justbuild.cmake -DCTEST_SOURCE_DIRECTORY=.. --no-compress-output
cache_key: build_freebsd_x86_64
build_windows:
if: (needs.changes.outputs.source == 'true') && (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
needs: changes
name: Windows x64 build
uses: ./.github/workflows/build_template.yml
with:
DISTR: windows
arch: x64
sysroot_url_key: roots_mysql83_jul29
boost_url_key: boost80_zstd_zlib
CTEST_CMAKE_GENERATOR: "Ninja Multi-Config"
CTEST_CONFIGURATION_TYPE: Debug
cache_key: build_windows_x64
artifact_list: "build/xml build/src/Debug/indexer.exe build/src/Debug/searchd.exe build/src/Debug/tests.exe build/src/gtests/Debug/gmanticoretest.exe build/usr"
test_windows:
if: (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'update-buddy-version') != true
name: Windows tests
needs: [build_windows, win_bundle]
uses: ./.github/workflows/win_test_template.yml
strategy:
fail-fast: false
matrix:
name: [1_400, 401_650, 651_and_on]
include:
- name: 1_400
start: 1
end: 400
- name: 401_650
start: 401
end: 650
- name: 651_and_on
start: 651
end: 999999
with:
CTEST_START: ${{ matrix.start }}
CTEST_END: ${{ matrix.end }}
artifact_name: windows_test_${{ matrix.name }}
windows_tests_report:
name: Windows tests summary and report
needs: test_windows
runs-on: ubuntu-22.04
container:
image: manticoresearch/ubertests_ctest:3263_20241105
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Download test report artifacts 1_400
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: windows_test_1_400
path: .
- name: Download test report artifacts 401_650
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: windows_test_401_650
path: .
- name: Download test report artifacts 651_and_on
uses: manticoresoftware/download_artifact_with_retries@v2
continue-on-error: true
with:
name: windows_test_651_and_on
path: .
- name: Convert the XML to JUnit format
run: for dir in build/xml_*; do xsltproc -o $dir/junit_tests.xml misc/junit/ctest2junit.xsl $dir/Test.xml; done;
shell: bash
- name: Publish test results
uses: manticoresoftware/publish-unit-test-result-action@v2
with:
check_name: Windows test results
compare_to_earlier_commit: false
files: build/xml_*/junit_tests.xml
comment_mode: failures
- name: Per-test results
# IMPORTANT: The value of 3 below should correspond to the test shard count, needs.<job_name>.strategy.job-total doesn't work
run: |
for file in build/status*; do echo -n "$file: "; cat "$file"; done
grep -o "success" build/status* | wc -l | awk '{if ($1==3) exit 0; else {print "Found only "$1" successful runs out of 3"; exit 1}}'
shell: bash
- name: Upload combined artifacts
if: always()
continue-on-error: true
uses: manticoresoftware/upload_artifact_with_retries@v3
with:
name: windows_test_resuls
path: build