Skip to content

Commit

Permalink
Try parallel + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
grem11n committed Feb 13, 2024
1 parent c9fad77 commit 509acdf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
name: terratest
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
terraform: ['1.5.7', '1.7.3']
steps:
Expand Down Expand Up @@ -68,3 +67,16 @@ jobs:
go mod tidy &&
echo 'package main' > main.go &&
go test -v -timeout=30m ./...
cleanup:
name: cleanup
runs-on: ubuntu-latest
if: always()
strategy:
matrix:
terraform: ['1.5.7', '1.7.3']
needs: ["terratest"]
steps:
- name: Stop Localstack container
run: docker-compose down

0 comments on commit 509acdf

Please sign in to comment.