Skip to content

feat: add resource & datasource vdcg (#867) #1351

feat: add resource & datasource vdcg (#867)

feat: add resource & datasource vdcg (#867) #1351

Workflow file for this run

# Terraform Provider testing workflow.
name: Tests
# This GitHub action runs your tests for each pull request and push.
# Optionally, you can turn it on using a schedule for regular testing.
on:
pull_request:
paths:
- '**.go'
# Testing only needs permissions to read the repository contents.
permissions:
contents: read
jobs:
testsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go mod download
- name: Run Go unit tests
env:
TEST_CLOUDAVENUE_ORG: ${{ secrets.CLOUDAVENUE_ORG }}
TEST_CLOUDAVENUE_USERNAME: ${{ secrets.CLOUDAVENUE_USER }}
TEST_CLOUDAVENUE_PASSWORD: ${{ secrets.CLOUDAVENUE_PASSWORD }}
TEST_CLOUDAVENUE_VDC: ${{ secrets.CLOUDAVENUE_VDC }}
run: |
go test $(go list ./... | grep -v /internal/testsacc)