fix(servergroup): anti_affinity_policy
default value and description
#510
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: UpCloud Terraform provider tests | |
on: | |
pull_request: | |
paths: | |
- upcloud/** | |
- internal/** | |
- go.mod | |
concurrency: | |
group: ${{ github.repository }}-${{ github.workflow }} | |
cancel-in-progress: false | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout source code" | |
uses: actions/checkout@v3 | |
- name: "Setup Go" | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: "Run unit tests" | |
run: make test | |
- name: "Run acceptance tests" | |
env: | |
UPCLOUD_USERNAME: ${{ secrets.UPCLOUD_USERNAME }} | |
UPCLOUD_PASSWORD: ${{ secrets.UPCLOUD_PASSWORD }} | |
if: env.UPCLOUD_PASSWORD != '' | |
run: make testacc |