Skip to content

run acc and migration tests for different TF CLI versions #2

run acc and migration tests for different TF CLI versions

run acc and migration tests for different TF CLI versions #2

Workflow file for this run

name: 'Test Suite'

Check failure on line 1 in .github/workflows/test-suite.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-suite.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: get-latest-tf-version
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *" # workflow runs every day at 02:00 AM
jobs:
get-latest-tf-version:
runs-on: ubuntu-latest
outputs:
version: ${{ vars.TF_VERSION_LATEST }}
acc-tests:
needs: [get-latest-tf-version]
strategy:
max-parallel: 1
fail-fast: false
matrix:
terraform_version:
- needs.get-latest-tf-version.outputs.version
- '1.0.8'
name: acc-tests-${{ matrix.terraform_version }}
secrets: inherit
permissions:
contents: write
pull-requests: read
repository-projects: read
uses: ./.github/workflows/acceptance-tests.yml
with:
terraform_version: ${{ matrix.terraform_version }}
migration-tests:
needs: [get-latest-tf-version, acc-tests]
strategy:
max-parallel: 1
fail-fast: false
matrix:
terraform_version:
- needs.get-latest-tf-version.outputs.version
- '1.0.8'
name: migration-tests-${{ matrix.terraform_version }}
secrets: inherit
permissions:
contents: write
pull-requests: read
repository-projects: read
uses: ./.github/workflows/migration-tests.yml
with:
terraform_version: ${{ matrix.terraform_version }}