chore: clean old code #1282
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
# 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) |