Files
terraform-provider-unifi/.github/workflows/acctest.yml
Paul Tyng 0d4dc04428 unifi_network - default network access bools to true
* Expose InternetAccessEnabled and IntraNetworkAccessEnabled

* Generate docs

* bump go-unifi to v1.27.0

* ammend tf and unifi versions

* fix minrate preference setting in 7.2

* fix

* try some additional tf 1.3 versions  to see why they are failing

* Bump sdk version to fix import test bug

Co-authored-by: Dillon Newell <dillon@newell-labs.ca>
2022-10-20 11:54:03 -04:00

46 lines
978 B
YAML

name: Acceptance Tests
on:
pull_request:
paths-ignore:
- "README.md"
push:
paths-ignore:
- "README.md"
schedule:
- cron: "0 13 * * *"
jobs:
test:
name: Matrix Test
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
unifi_version:
- "v6.5"
- "v6"
- "v7.0"
- "v7.1"
- "v7.2"
- "v7"
- "latest"
terraform_version:
- "1.2.9"
- "1.3.3"
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.18"
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- run: make testacc-up UNIFI_VERSION=${{ matrix.unifi_version }}
- name: TF acceptance tests
timeout-minutes: 10
run: make testacc TF_ACC_TERRAFORM_VERSION=${{ matrix.terraform_version }}
- run: make testacc-down