Skip to content

fix: update testacc vdcgroup and vdc resource #1064

fix: update testacc vdcgroup and vdc resource

fix: update testacc vdcgroup and vdc resource #1064

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:
branches:
- main
paths:
- '**.go'
- 'examples/**'
# Testing only needs permissions to read the repository contents.
permissions:
contents: read
jobs:
# Ensure project builds before running testing matrix
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4 # v3.5.0
- uses: actions/[email protected] # v4.0.0
with:
go-version-file: 'go.mod'
- run: go mod download
- run: go build -v .
- name: Run linters
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: latest
testsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
go-version-file: 'go.mod'
- run: go mod download
- name: Run Go unit tests
run: |
go test $(go list ./... | grep -v /internal/testsacc)