Skip to content

Commit

Permalink
test: use go workspace when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Jun 7, 2024
1 parent 187c2bb commit 660e06c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/test
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ cd "${REPO_ROOT}"

set -x

# We need go.work to test with our "sub" modules
if [[ -z go.work ]]; then
go work init .
fi
#go work use ./applylib
#go work use ./mockkubeapiserver

pushd mockkubeapiserver
CGO_ENABLED=0 go test -count=1 -v ./...
popd
Expand Down

0 comments on commit 660e06c

Please sign in to comment.