Test Suite #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Test Suite' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" # workflow runs every day at midnight UTC | |
jobs: | |
clean-before: | |
secrets: inherit | |
uses: ./.github/workflows/cleanup-test-env.yml | |
mig-tests: | |
needs: clean-before | |
if: ${{ !cancelled() }} | |
strategy: | |
max-parallel: 1 | |
fail-fast: false | |
matrix: | |
terraform_version: ['', '1.0.8'] # '' for latest version | |
provider_version: ['', '1.11.1'] # '' for latest version | |
name: mig-tests-${{ matrix.terraform_version || 'latest' }}-${{ matrix.provider_version || 'latest' }} | |
secrets: inherit | |
uses: ./.github/workflows/migration-tests.yml | |
with: | |
terraform_version: ${{ matrix.terraform_version }} | |
provider_version: ${{ matrix.provider_version }} | |
acc-tests: | |
needs: mig-tests | |
if: ${{ !cancelled() }} | |
strategy: | |
max-parallel: 1 | |
fail-fast: false | |
matrix: | |
terraform_version: ['', '1.0.8'] # '' for latest version | |
name: acc-tests-${{ matrix.terraform_version || 'latest' }} | |
secrets: inherit | |
uses: ./.github/workflows/acceptance-tests.yml | |
with: | |
terraform_version: ${{ matrix.terraform_version }} | |
clean-after: | |
needs: acc-tests | |
if: ${{ !cancelled() }} | |
secrets: inherit | |
uses: ./.github/workflows/cleanup-test-env.yml | |