|
33 | 33 | default: false
|
34 | 34 | required: false
|
35 | 35 | type: boolean
|
| 36 | + testAWSRegion: |
| 37 | + description: 'AWS test region' |
| 38 | + required: false |
| 39 | + type: string |
| 40 | + default: 'us-east-1' |
| 41 | + testAWSAccountId: |
| 42 | + description: 'AWS test account ID' |
| 43 | + required: false |
| 44 | + type: string |
| 45 | + default: '000000000000' |
| 46 | + testAWSAccessKeyId: |
| 47 | + description: 'AWS test access key ID' |
| 48 | + required: false |
| 49 | + type: string |
| 50 | + default: 'test' |
36 | 51 | workflow_call:
|
37 | 52 | inputs:
|
38 | 53 | disableCaching:
|
|
60 | 75 | default: false
|
61 | 76 | required: false
|
62 | 77 | type: boolean
|
| 78 | + testAWSRegion: |
| 79 | + description: 'AWS test region' |
| 80 | + required: false |
| 81 | + type: string |
| 82 | + default: 'us-east-1' |
| 83 | + testAWSAccountId: |
| 84 | + description: 'AWS test account ID' |
| 85 | + required: false |
| 86 | + type: string |
| 87 | + default: '000000000000' |
| 88 | + testAWSAccessKeyId: |
| 89 | + description: 'AWS test access key ID' |
| 90 | + required: false |
| 91 | + type: string |
| 92 | + default: 'test' |
63 | 93 |
|
64 | 94 | env:
|
65 | 95 | PYTEST_LOGLEVEL: ${{ inputs.PYTEST_LOGLEVEL || 'WARNING' }}
|
66 | 96 | IMAGE_NAME: "localstack/localstack"
|
67 | 97 | TINYBIRD_DATASOURCE: "community_tests_integration"
|
68 | 98 | TESTSELECTION_PYTEST_ARGS: "${{ !inputs.disableTestSelection && '--path-filter=dist/testselection/test-selection.txt ' || '' }}"
|
| 99 | + TEST_AWS_REGION_NAME: ${{ inputs.testAWSRegion }} |
| 100 | + TEST_AWS_ACCOUNT_ID: ${{ inputs.testAWSAccountId }} |
| 101 | + TEST_AWS_ACCESS_KEY_ID: ${{ inputs.testAWSAccessKeyId }} |
69 | 102 |
|
70 | 103 | jobs:
|
71 | 104 | build:
|
@@ -139,7 +172,7 @@ jobs:
|
139 | 172 | fetch-depth: 0
|
140 | 173 |
|
141 | 174 | - name: Prepare Local Test Environment
|
142 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 175 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
143 | 176 |
|
144 | 177 | - name: Linting
|
145 | 178 | run: make lint
|
@@ -316,7 +349,7 @@ jobs:
|
316 | 349 | fetch-depth: 0
|
317 | 350 |
|
318 | 351 | - name: Prepare Local Test Environment
|
319 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 352 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
320 | 353 |
|
321 | 354 | - name: Load Localstack Docker Image
|
322 | 355 | uses: localstack/localstack/.github/actions/load-localstack-docker-from-artifacts@master
|
@@ -437,7 +470,7 @@ jobs:
|
437 | 470 | uses: actions/checkout@v4
|
438 | 471 |
|
439 | 472 | - name: Prepare Local Test Environment
|
440 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 473 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
441 | 474 |
|
442 | 475 | - name: Run Cloudwatch v1 Provider Tests
|
443 | 476 | timeout-minutes: 30
|
@@ -480,7 +513,7 @@ jobs:
|
480 | 513 | uses: actions/checkout@v4
|
481 | 514 |
|
482 | 515 | - name: Prepare Local Test Environment
|
483 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 516 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
484 | 517 |
|
485 | 518 | - name: Download Test Selection
|
486 | 519 | if: ${{ env.TESTSELECTION_PYTEST_ARGS }}
|
@@ -529,7 +562,7 @@ jobs:
|
529 | 562 | uses: actions/checkout@v4
|
530 | 563 |
|
531 | 564 | - name: Prepare Local Test Environment
|
532 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 565 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
533 | 566 |
|
534 | 567 | - name: Download Test Selection
|
535 | 568 | if: ${{ env.TESTSELECTION_PYTEST_ARGS }}
|
@@ -580,7 +613,7 @@ jobs:
|
580 | 613 | uses: actions/checkout@v4
|
581 | 614 |
|
582 | 615 | - name: Prepare Local Test Environment
|
583 |
| - uses: localstack/localstack/.github/actions/setup-test-env@master |
| 616 | + uses: localstack/localstack/.github/actions/setup-tests-env@master |
584 | 617 |
|
585 | 618 | - name: Download Test Selection
|
586 | 619 | if: ${{ env.TESTSELECTION_PYTEST_ARGS }}
|
|
0 commit comments