Files
terraform-provider-unifi/.github/workflows/acctest.yml
dependabot[bot] c667072b83 Bump actions/setup-go from 2.2.0 to 3 (#221)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.2.0...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 09:13:52 +11:00

44 lines
939 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:
- "6.0"
- "6.1"
- "v6.2"
- "v6.4"
- "v6"
terraform_version:
- "0.15.5"
- "1.0.6"
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.16"
- 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