feat: support secret reference in resource defs #191
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
name: Terraform Provider Tests | |
on: [push] | |
jobs: | |
acceptance: | |
name: Acceptance Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: '1.2.*' | |
terraform_wrapper: false | |
- run: make testacc | |
env: | |
HUMANITEC_ORG_ID: ${{ secrets.HUMANITEC_ORG_ID }} | |
HUMANITEC_TOKEN: ${{ secrets.HUMANITEC_TOKEN }} | |
unit: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- run: go test -v -cover ./... |