Fix make test on arm64 runners
The environment variables set at the Makefile were causing go install to yield a corrupted file for setup-envtest. To fix the issue, such operation is now always executed in a clean bash. Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
e5d032fe9c
commit
514126c4b8
|
@ -57,11 +57,7 @@ jobs:
|
|||
with:
|
||||
go-version: 1.17.x
|
||||
- name: Run tests
|
||||
run: |
|
||||
mkdir tmp-download; cd tmp-download; go mod init go-download;
|
||||
GOBIN="${GITHUB_WORKSPACE}/build/gobin" go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
|
||||
cd ..; rm -rf tmp-download
|
||||
make test
|
||||
run: make test
|
||||
- name: Prepare
|
||||
id: prep
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue