Skip to content

Add secret_refs|azure|private git|ssh_key #261

Add secret_refs|azure|private git|ssh_key

Add secret_refs|azure|private git|ssh_key #261

Workflow file for this run

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.5.*"
terraform_wrapper: false
- run: make testacc
env:
HUMANITEC_ORG: ${{ secrets.HUMANITEC_ORG_ID }} # Reusing env variable on GitHub Actions
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 ./...