-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (36 loc) · 926 Bytes
/
test.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: Terraform Test
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
name: Integration test
strategy:
fail-fast: false
max-parallel: 2
matrix:
module: ["s3", "database", "redis", "cg_space", "domain", "clamav"]
steps:
- uses: actions/checkout@v4
- name: terraform test ${{ matrix.module }}
uses: dflook/terraform-test@v1
env:
CF_USER: ${{ secrets.CF_USER }}
CF_PASSWORD: ${{ secrets.CF_PASSWORD }}
with:
path: ${{ matrix.module }}
test-egress-proxy:
runs-on: ubuntu-latest
name: Egress proxy integration test
env:
TERRAFORM_PRE_RUN: |
apt-get update
apt-get install -y zip
steps:
- uses: actions/checkout@v4
- name: terraform test egress_proxy
uses: dflook/terraform-test@v1
with:
path: egress_proxy