forked from integrations/terraform-provider-github
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (48 loc) · 1.48 KB
/
dotcom-acceptance-tests.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
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Dotcom Acceptance Tests
on:
push:
branches:
- test/**
jobs:
acceptance-tests-anonymous:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
- name: Acceptance Tests (Anonymous)
uses: terraformtesting/[email protected]
with:
TF_LOG: INFO
acceptance-tests-individual:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
- name: Acceptance Tests (Individual)
uses: terraformtesting/[email protected]
with:
TF_LOG: INFO
GITHUB_OWNER: github-terraform-test-user
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_ORGANIZATION: terraformtesting
acceptance-tests-organization:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 2
- name: Acceptance Tests (Organization)
uses: terraformtesting/[email protected]
with:
TF_LOG: INFO
GITHUB_ORGANIZATION: terraformtesting
GITHUB_TEST_USER_TOKEN: ${{ secrets.DOTCOM_TEST_USER_TOKEN }}
GITHUB_TEST_OWNER: github-terraform-test-user