TF - split long-running tests (#5363)
This commit is contained in:
parent
5dfe4e00d6
commit
034ecb9dfb
7
.github/workflows/test_terraform.yml
vendored
7
.github/workflows/test_terraform.yml
vendored
@ -45,7 +45,10 @@ jobs:
|
||||
${{ runner.os }}-go-${{ matrix.go-version }}-2-
|
||||
- name: Get list of tests for this service
|
||||
id: get-list
|
||||
run: echo "::set-output name=testlist::$(python tests/terraformtests/get_tf_tests.py ${{ matrix.service }})"
|
||||
run: echo "::set-output name=testlist::$(python tests/terraformtests/get_tf_tests.py '${{ matrix.service }}')"
|
||||
- name: Get original AWS service name
|
||||
id: get-service-name
|
||||
run: echo "::set-output name=servicename::$(python -c "print('${{ matrix.service }}'[:'${{ matrix.service }}'.index('|') if '|' in '${{ matrix.service }}' else len('${{ matrix.service }}')])")"
|
||||
- name: Execute tests
|
||||
run: |
|
||||
make terraformtests SERVICE_NAME=${{ matrix.service }} TEST_NAMES=${{ steps.get-list.outputs.testlist }}
|
||||
make terraformtests SERVICE_NAME=${{ steps.get-service-name.outputs.servicename }} TEST_NAMES=${{ steps.get-list.outputs.testlist }}
|
||||
|
@ -142,7 +142,7 @@ quicksight:
|
||||
- TestAccQuickSightUser
|
||||
redshift:
|
||||
- TestAccRedshiftServiceAccountDataSource
|
||||
route53:
|
||||
route53|1:
|
||||
- TestAccRoute53Record_basic
|
||||
- TestAccRoute53Record_underscored
|
||||
- TestAccRoute53Record_disappears
|
||||
@ -170,6 +170,7 @@ route53:
|
||||
- TestAccRoute53Record_longTXTrecord
|
||||
- TestAccRoute53Record_doNotAllowOverwrite
|
||||
- TestAccRoute53Record_allowOverwrite
|
||||
route53|2:
|
||||
- TestAccRoute53Zone_basic
|
||||
- TestAccRoute53Zone_disappears
|
||||
- TestAccRoute53Zone_multiple
|
||||
|
Loading…
Reference in New Issue
Block a user