Skip to content

Commit

Permalink
✅ test: Update the test workflow to set the timeout to 20 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
bendoerr committed Aug 21, 2024
1 parent e8764ca commit 3c40a4c
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,27 @@ jobs:
with:
egress-policy: audit

- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.21.4"
go-version-file: test/go.mod
cache: true

- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: arn:aws:iam::234656776442:role/brd-sndbx-ue1-core-apply
aws-region: us-east-1

- name: terratest
uses: cloudposse/github-action-terratest@dee3c6c2a6f988c4405965ed69972925a5c3a0b2 # main
- shell: bash
working-directory: test
run: |
go install github.com/jstemmer/go-junit-report@latest
go test -timeout 20m -v ./... | tee report.txt
go-junit-report -set-exit-code < report.txt > report.xml
- uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
with:
sourceDir: test
paths: test/report.xml
if: always()

0 comments on commit 3c40a4c

Please sign in to comment.