@@ -447,12 +447,12 @@ jobs:
447
447
name : Publish Test Results
448
448
strategy :
449
449
matrix :
450
- runner :
451
- - ubuntu-latest
452
- - ubuntu-24.04-arm
450
+ arch :
451
+ - amd64
452
+ - arm64
453
453
exclude :
454
454
# skip the ARM integration tests in case we are not on the master and not on the upgrade-dependencies branch and forceARMTests is not set to true
455
- - runner : ${{ (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false) && 'ubuntu-24.04-arm ' || ''}}
455
+ - arch : ${{ (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false) && 'arm64 ' || ''}}
456
456
needs :
457
457
- test-integration
458
458
- test-bootstrap
@@ -465,28 +465,24 @@ jobs:
465
465
# execute on success or failure, but not if the workflow is cancelled or any of the dependencies has been skipped
466
466
if : always() && !cancelled() && !contains(needs.*.result, 'skipped')
467
467
steps :
468
- - name : Determine Runner Architecture
469
- shell : bash
470
- run : echo "PLATFORM=${{ (runner.arch == 'X64' && 'amd64') || (runner.arch == 'ARM64' && 'arm64') || '' }}" >> $GITHUB_ENV
471
-
472
468
- name : Download Bootstrap Artifacts
473
469
uses : actions/download-artifact@v4
474
- if : ${{ env.PLATFORM == 'amd64' }}
470
+ if : ${{ matrix.arch == 'amd64' }}
475
471
with :
476
472
pattern : test-results-bootstrap
477
473
478
474
- name : Download Integration Artifacts
479
475
uses : actions/download-artifact@v4
480
476
with :
481
- pattern : test-results-integration-${{ env.PLATFORM }}-*
477
+ pattern : test-results-integration-${{ matrix.arch }}-*
482
478
483
479
- name : Publish Bootstrap and Integration Test Results
484
480
uses : EnricoMi/publish-unit-test-result-action@v2
485
481
if : success() || failure()
486
482
with :
487
483
files : |
488
484
**/pytest-junit-*.xml
489
- check_name : " Test Results (${{ env.PLATFORM }}${{ inputs.testAWSAccountId != '000000000000' && ', MA/MR' || ''}}) - Integration${{ env.PLATFORM == 'amd64' && ', Bootstrap' || ''}}"
485
+ check_name : " Test Results (${{ matrix.arch }}${{ inputs.testAWSAccountId != '000000000000' && ', MA/MR' || ''}}) - Integration${{ matrix.arch == 'amd64' && ', Bootstrap' || ''}}"
490
486
test_file_prefix : " -/opt/code/localstack/"
491
487
action_fail_on_inconclusive : true
492
488
@@ -571,12 +567,12 @@ jobs:
571
567
name : Publish Acceptance Test Results
572
568
strategy :
573
569
matrix :
574
- runner :
575
- - ubuntu-latest
576
- - ubuntu-24.04-arm
570
+ arch :
571
+ - amd64
572
+ - arm64
577
573
exclude :
578
574
# skip the ARM integration tests in case we are not on the master and not on the upgrade-dependencies branch and forceARMTests is not set to true
579
- - runner : ${{ (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false) && 'ubuntu-24.04-arm ' || ''}}
575
+ - arch : ${{ (github.ref != 'refs/heads/master' && github.ref != 'upgrade-dependencies' && inputs.forceARMTests == false) && 'arm64 ' || ''}}
580
576
needs :
581
577
- test-acceptance
582
578
runs-on : ubuntu-latest
@@ -588,22 +584,18 @@ jobs:
588
584
# execute on success or failure, but not if the workflow is cancelled or any of the dependencies has been skipped
589
585
if : always() && !cancelled() && !contains(needs.*.result, 'skipped')
590
586
steps :
591
- - name : Determine Runner Architecture
592
- shell : bash
593
- run : echo "PLATFORM=${{ (runner.arch == 'X64' && 'amd64') || (runner.arch == 'ARM64' && 'arm64') || '' }}" >> $GITHUB_ENV
594
-
595
587
- name : Download Acceptance Artifacts
596
588
uses : actions/download-artifact@v4
597
589
with :
598
- pattern : test-results-acceptance-${{ env.PLATFORM }}
590
+ pattern : test-results-acceptance-${{ matrix.arch }}
599
591
600
592
- name : Publish Acceptance Test Results
601
593
uses : EnricoMi/publish-unit-test-result-action@v2
602
594
if : success() || failure()
603
595
with :
604
596
files : |
605
597
**/pytest-junit-*.xml
606
- check_name : " Test Results (${{ env.PLATFORM }}${{ inputs.testAWSAccountId != '000000000000' && ', MA/MR' || ''}}) - Acceptance"
598
+ check_name : " Test Results (${{ matrix.arch }}${{ inputs.testAWSAccountId != '000000000000' && ', MA/MR' || ''}}) - Acceptance"
607
599
test_file_prefix : " -/opt/code/localstack/"
608
600
action_fail_on_inconclusive : true
609
601
0 commit comments