-
Notifications
You must be signed in to change notification settings - Fork 1k
34 lines (32 loc) · 973 Bytes
/
acceptance_test_dfa.yaml
File metadata and controls
34 lines (32 loc) · 973 Bytes
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
name: Deferred Actions
on:
pull_request:
branches:
- main
- v3-major-release
paths:
- "manifest/**/*.go"
- 'kubernetes/**/*.go'
- "go.mod"
workflow_dispatch:
inputs:
terraformVersion:
description: Terraform version
default: v1.12.0-alpha20250312
jobs:
acceptance_tests:
if: ${{ github.repository_owner == 'hashicorp' }}
runs-on: custom-linux-medium
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: Run Tests
env:
TF_ACC: 1
TF_ACC_TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || 'v1.12.0-alpha20250312' }}
run: |
go test -v -run '^TestAccKubernetesDeferredActions' ./kubernetes/test-dfa