Skip to content

Support configuring test environments #206

Support configuring test environments

Support configuring test environments #206

name: Test Terraform
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: Init - Playground
working-directory: './terraform/alicloud/playground'
run: terraform init
- name: Validate - Playground
working-directory: './terraform/alicloud/playground'
run: terraform validate
- name: Verify Format - Playground
working-directory: './terraform/alicloud/playground'
run: terraform fmt -diff -check
- name: Init - Cluster
working-directory: './terraform/alicloud/cluster'
run: terraform init
- name: Validate - Cluster
working-directory: './terraform/alicloud/cluster'
run: terraform validate
- name: Verify Format - Cluster
working-directory: './terraform/alicloud/cluster'
run: terraform fmt -diff -check