Allow more empty objects and fix bugs #453
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/hashicorp/terraform-provider-scaffolding-framework/blob/main/.github/workflows/test.yml | |
name: Run-Acc-And-Unit-Tests | |
on: | |
push: | |
branches-ignore: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
environment: acc-test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Build | |
run: go build -v ./... | |
- name: Run Tests | |
run: go test -v ./... -timeout 30m | |
env: | |
TF_ACC: true | |
CPLN_ORG: terraform-test-org | |
CPLN_ENDPOINT: https://api.test.cpln.io | |
CPLN_TOKEN: "${{secrets.CPLN_TOKEN}}" |