Skip to content

E2E on Terraform Enterprise #205

E2E on Terraform Enterprise

E2E on Terraform Enterprise #205

name: E2E on Terraform Enterprise
on:
schedule:
- cron: '30 5 * * 0'
push:
branches:
- main
paths:
- 'controllers/**'
workflow_dispatch:
workflow_call:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Run end-to-end test suite
run: make test
env:
TFC_OAUTH_TOKEN: ${{ secrets.TFE_OAUTH_TOKEN }}
TFC_ORG: ${{ secrets.TFE_ORG }}
TFC_TOKEN: ${{ secrets.TFE_TOKEN }}
TFC_VCS_REPO: ${{ secrets.TFE_VCS_REPO }}
TFE_ADDRESS: ${{ secrets.TFE_ADDRESS }}
TFC_TLS_SKIP_VERIFY: true