Use testcontainers-go (#330)

* Use `testcontainers-go`

* Wait for ready

* Sleep

* Remove `time.Sleep`

* Wait until devices appear

* Pass environment

* Add `golangci-lint` to tools

* Minor
This commit is contained in:
Joshua Spence
2023-03-03 15:19:19 +11:00
committed by GitHub
parent 284c42aaae
commit b27b54a755
7 changed files with 1624 additions and 44 deletions

View File

@@ -33,10 +33,6 @@ jobs:
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
timeout-minutes: 20
run: make testacc UNIFI_VERSION=${{ matrix.unifi_version }}