forked from HHS/simpler-grants-gov
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 909 Bytes
/
infra-service.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Infra Service Checks
on:
workflow_call:
inputs:
app_name:
description: "name of application folder under infra directory"
required: true
type: string
jobs:
infra-test-e2e:
name: Test service
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.9.7
terraform_wrapper: false
- uses: actions/setup-go@v5
with:
go-version: ">=1.19.0"
- name: Configure AWS credentials
uses: ./.github/actions/configure-aws-credentials
with:
app_name: ${{ inputs.app_name }}
# Run infra CI on dev environment
environment: dev
- name: Run Terratest
run: make APP_NAME=${{ inputs.app_name }} infra-test-service