Skip to content

Commit

Permalink
limit parallel runs and utilize retry action
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenmcdermott committed Aug 1, 2023
1 parent c87b3d8 commit e296441
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
timeout-minutes: 15
strategy:
fail-fast: false
max-parallel: 2
matrix:
# list whatever Terraform versions here you would like to support
terraform:
- '1.0.*'
- '1.1.*'
Expand All @@ -72,8 +72,13 @@ jobs:
terraform_version: ${{ matrix.terraform }}
terraform_wrapper: false
- run: go mod download
- env:
- uses: nick-fields/retry@v2
env:
TF_ACC: "1"
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
PORKBUN_SECRET_KEY: ${{ secrets.PORKBUN_SECRET_KEY }}
run: go test -v -cover ./internal/provider/
with:
timeout_minutes: 10
max_attempts: 5
shell: sh
command: go test -v -cover ./internal/provider/

0 comments on commit e296441

Please sign in to comment.