Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Oct 18, 2023
1 parent a5d6c38 commit c5e07e7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 16 deletions.
48 changes: 33 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
directory:
- ./test_dir/project1
- ./test_dir/project2
- ./test_dir/project3
- ./test_dir/project4
include:
- directory: ./test_dir/project1
terraform_version: 0.15.0
- directory: ./test_dir/project2
terraform_version: 1.3.3
- directory: ./test_dir/project3/applications/backend-app
terraform_version: 1.2.1
- directory: ./test_dir/project3/applications/frontend-app
terraform_version: 1.4.1
- directory: ./test_dir/project4
terraform_version: 1.6.1
defaults:
run:
working-directory: ${{ matrix.directory }}
Expand All @@ -59,11 +65,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
directory:
- ./test_dir/project1
- ./test_dir/project2
- ./test_dir/project3
- ./test_dir/project4
include:
- directory: ./test_dir/project1
terraform_version: 0.15.0
- directory: ./test_dir/project2
terraform_version: 1.3.3
- directory: ./test_dir/project3/applications/backend-app
terraform_version: 1.2.1
- directory: ./test_dir/project3/applications/frontend-app
terraform_version: 1.4.1
- directory: ./test_dir/project4
terraform_version: 1.6.1
defaults:
run:
working-directory: ${{ matrix.directory }}
Expand All @@ -81,11 +93,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
directory:
- ./test_dir/project1
- ./test_dir/project2
- ./test_dir/project3
- ./test_dir/project4
include:
- directory: ./test_dir/project1
terraform_version: 0.15.0
- directory: ./test_dir/project2
terraform_version: 1.3.3
- directory: ./test_dir/project3/applications/backend-app
terraform_version: 1.2.1
- directory: ./test_dir/project3/applications/frontend-app
terraform_version: 1.4.1
- directory: ./test_dir/project4
terraform_version: 1.6.1
defaults:
run:
working-directory: ${{ matrix.directory }}
Expand Down
2 changes: 1 addition & 1 deletion test_dir/project1/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "<=0.15"
required_version = "<~0.15"
}

module "gcp" {
Expand Down

0 comments on commit c5e07e7

Please sign in to comment.