Files
terraform-provider-unifi/.github/workflows/acctest.yml
Joshua Spence 81c357b3a5 Improve test stability (#310)
* Improve stability of network/wlan tests

* Improve stability of user tests

* Don't test with different Terraform versions
2023-02-24 18:04:56 +11:00

43 lines
848 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.3"
- "v7"
- "latest"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true
check-latest: true
- run: make testacc-up UNIFI_VERSION=${{ matrix.unifi_version }}
- name: TF acceptance tests
timeout-minutes: 10
run: make testacc
- run: make testacc-down