Skip to content

Commit a3db721

Browse files
committed
Fix codecov action in main branch
Controller tests that use envtests depend on CRDs being available to install into the test cluster. Since these CRDs are not committed to the repository, it is necessary to download them for envtest tests to function correctly. Signed-off-by: Angel Misevski <[email protected]>
1 parent 35782c9 commit a3db721

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/code-coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
name: Run Go Tests
4141
run: |
4242
python -m pip install --upgrade pip yq
43+
go install golang.org/x/tools/cmd/goimports@latest
4344
go install github.com/onsi/ginkgo/v2/[email protected]
44-
make test
45+
make update_devworkspace_crds test
4546
-
4647
name: Build Codecov report
4748
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)