Fix test failures in GitHub Actions workflows

- Add envtest setup before running tests
- Use 'make setup-envtest' to install test binaries
- Use 'make test' instead of direct go test
- Ensures proper test environment setup in CI

This fixes the BeforeSuite panic caused by missing envtest binaries.
This commit is contained in:
2025-10-25 21:59:05 +02:00
parent 3757027b01
commit 35173add36
3 changed files with 14 additions and 4 deletions

View File

@@ -34,10 +34,13 @@ jobs:
go-version-file: 'go.mod'
cache: true
- name: Install envtest binaries
run: |
make setup-envtest
- name: Run tests
run: |
go test -v ./... -coverprofile=coverage.out
go tool cover -func=coverage.out
make test
- name: Set up QEMU
uses: docker/setup-qemu-action@v3