Skip to content

chore: synced file(s) with honestbank/.github #604

chore: synced file(s) with honestbank/.github

chore: synced file(s) with honestbank/.github #604

Workflow file for this run

name: "Terratest GitHub Action"
permissions:
pull-requests: write
contents: write
on:
pull_request:
branches: [test, dev, qa, prod, main]
push:
branches: [test, dev, qa, prod, main]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TERRATEST_AWS_ACCESS_KEY_ID }}
AWS_SECRET_KEY: ${{ secrets.TERRATEST_AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.TERRATEST_AWS_REGION }}
AWS_REGION: ${{ secrets.TERRATEST_AWS_REGION }}
jobs:
terratest:
name: terratest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Go (1.16)
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go
- name: Run 'go test -v -timeout 30m'
run: |
cd test
go mod download
go test -v -timeout 30m