@@ -150,10 +150,6 @@ jobs:
150
150
timeout-minutes : 15
151
151
steps :
152
152
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
153
- - name : Increase ulimit
154
- if : runner.os == 'macOS'
155
- run : |
156
- ulimit -n 10000
157
153
- uses : ./.github/actions/setup_node
158
154
with :
159
155
node-version : ${{ matrix.node }}
@@ -482,10 +478,6 @@ jobs:
482
478
contents : read
483
479
steps :
484
480
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
485
- - name : Increase ulimit
486
- if : runner.os == 'macOS'
487
- run : |
488
- ulimit -n 10000
489
481
- name : Run e2e deployment tests
490
482
uses : ./.github/actions/run_with_e2e_account
491
483
with :
@@ -494,6 +486,7 @@ jobs:
494
486
cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
495
487
link_cli : true
496
488
run : |
489
+ [[ "$RUNNER_OS" == "macOS" ]] && ulimit -n 10000
497
490
npm run test:dir ${{ matrix.testPaths }}
498
491
e2e_generate_sandbox_tests_matrix :
499
492
if : needs.do_include_e2e.outputs.run_e2e == 'true'
@@ -534,18 +527,16 @@ jobs:
534
527
contents : read
535
528
steps :
536
529
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
537
- - name : Increase ulimit
538
- if : runner.os == 'macOS'
539
- run : |
540
- ulimit -n 10000
541
530
- name : Run e2e sandbox tests
542
531
uses : ./.github/actions/run_with_e2e_account
543
532
with :
544
533
e2e_test_accounts : ${{ vars.E2E_TEST_ACCOUNTS }}
545
534
node_version : ${{ matrix.node-version }}
546
535
cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
547
536
link_cli : true
548
- run : npm run test:dir ${{ matrix.testPaths }}
537
+ run : |
538
+ [[ "$RUNNER_OS" == "macOS" ]] && ulimit -n 10000
539
+ npm run test:dir ${{ matrix.testPaths }}
549
540
e2e_notices :
550
541
if : needs.do_include_e2e.outputs.run_e2e == 'true'
551
542
strategy :
@@ -566,10 +557,6 @@ jobs:
566
557
contents : read
567
558
steps :
568
559
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
569
- - name : Increase ulimit
570
- if : runner.os == 'macOS'
571
- run : |
572
- ulimit -n 10000
573
560
- uses : ./.github/actions/setup_node
574
561
with :
575
562
node-version : 18
@@ -579,7 +566,9 @@ jobs:
579
566
cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
580
567
- run : cd packages/cli && npm link
581
568
- name : Run e2e notices tests
582
- run : npm run test:dir packages/integration-tests/lib/test-e2e/notices.test.js
569
+ run : |
570
+ [[ "$RUNNER_OS" == "macOS" ]] && ulimit -n 10000
571
+ npm run test:dir packages/integration-tests/lib/test-e2e/notices.test.js
583
572
e2e_backend_output :
584
573
if : needs.do_include_e2e.outputs.run_e2e == 'true'
585
574
runs-on : ubuntu-latest
@@ -628,10 +617,6 @@ jobs:
628
617
- resolve_inputs
629
618
steps :
630
619
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
631
- - name : Increase ulimit
632
- if : runner.os == 'macOS'
633
- run : |
634
- ulimit -n 10000
635
620
- uses : ./.github/actions/setup_node
636
621
with :
637
622
node-version : ${{ matrix.node-version }}
@@ -641,7 +626,9 @@ jobs:
641
626
cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
642
627
- run : cd packages/cli && npm link
643
628
- name : Run e2e create-amplify tests
644
- run : npm run test:dir packages/integration-tests/lib/test-e2e/create_amplify.test.js
629
+ run : |
630
+ [[ "$RUNNER_OS" == "macOS" ]] && ulimit -n 10000
631
+ npm run test:dir packages/integration-tests/lib/test-e2e/create_amplify.test.js
645
632
e2e_package_manager :
646
633
if : needs.do_include_e2e.outputs.run_e2e == 'true' && needs.do_include_e2e.outputs.include_package_manager_e2e == 'true'
647
634
strategy :
@@ -664,10 +651,6 @@ jobs:
664
651
id-token : write
665
652
contents : read
666
653
steps :
667
- - name : Increase ulimit
668
- if : runner.os == 'macOS'
669
- run : |
670
- ulimit -n 10000
671
654
- name : Checkout aws-amplify/amplify-backend repo
672
655
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
673
656
- name : Run E2E flow tests with ${{ matrix.pkg-manager }}
@@ -678,6 +661,7 @@ jobs:
678
661
cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
679
662
shell : bash
680
663
run : |
664
+ [[ "$RUNNER_OS" == "macOS" ]] && ulimit -n 10000
681
665
PACKAGE_MANAGER=${{matrix.pkg-manager}} npm run test:dir packages/integration-tests/src/package_manager_sanity_checks.test.ts
682
666
lint :
683
667
runs-on : ubuntu-latest
0 commit comments