Skip to content

Commit

Permalink
chore: Add Terraform setup to the testing pipeline (#2579)
Browse files Browse the repository at this point in the history
To speed up acceptance tests we can setup Terraform before and point the
testing framework to the Terraform CLI location. Because of that, It
won't be downloaded for every test (which was most likely happening
before this change).
  • Loading branch information
sfc-gh-jcieslak authored Mar 4, 2024
1 parent e7fd4ef commit 216e35a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
- run: make test
if: steps.create_config.conclusion == 'success'

- name: Setup Terraform
if: steps.create_config.conclusion == 'success'
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.7.4
terraform_wrapper: false

- run: make test-acceptance
if: steps.create_config.conclusion == 'success'

Expand Down

0 comments on commit 216e35a

Please sign in to comment.