Skip to content

Commit

Permalink
chore: Increase parallelism in Test Suite (#1859)
Browse files Browse the repository at this point in the history
* increase parallelism

* keep max-parallel in 1

* add TF 1.7.0 in default param
  • Loading branch information
lantoli committed Jan 19, 2024
1 parent 5b34f46 commit 386d32a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-suite.yml
Expand Up @@ -6,7 +6,7 @@ on:
inputs:
terraform_matrix:
description: 'Terraform version matrix (JSON array)'
default: '["1.6.x", "1.5.x", "1.4.x", "1.3.x", "1.2.x"]'
default: '["1.7.x", "1.6.x", "1.5.x", "1.4.x", "1.3.x", "1.2.x"]'
provider_matrix:
description: 'Previous MongoDB Atlas Provider version matrix for migration tests (JSON array)'
default: '[""]' # "" for latest version
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
provider_version: ${{ matrix.provider_version }}

acc-tests:
needs: [mig-tests, versions]
needs: [clean-before, versions]
if: ${{ !cancelled() }}
strategy:
max-parallel: 1
Expand All @@ -66,7 +66,7 @@ jobs:
terraform_version: ${{ matrix.terraform_version }}

clean-after:
needs: acc-tests
needs: [mig-tests, acc-tests]
if: ${{ !cancelled() }}
secrets: inherit
uses: ./.github/workflows/cleanup-test-env.yml
Expand Down

0 comments on commit 386d32a

Please sign in to comment.