Skip to content

Commit 4d4a7c5

Browse files
adchiakevjumba
andcommitted
ci: Fix go unit tests failure (feast-dev#3078)
* ci: Fix go unit tests failure Signed-off-by: Danny Chiao <[email protected]> * Temporary fix? Signed-off-by: Kevin Zhang <[email protected]> * Fix Signed-off-by: Kevin Zhang <[email protected]> * Fix Signed-off-by: Kevin Zhang <[email protected]> Signed-off-by: Danny Chiao <[email protected]> Signed-off-by: Kevin Zhang <[email protected]> Co-authored-by: Kevin Zhang <[email protected]>
1 parent eb885b1 commit 4d4a7c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ install-go-ci-dependencies:
229229
python -m pip install pybindgen==0.22.0 protobuf==3.20.1
230230

231231
install-protoc-dependencies:
232-
pip install grpcio-tools==1.47.0 mypy-protobuf==3.1.0
232+
pip install --ignore-installed protobuf grpcio-tools==1.47.0 mypy-protobuf==3.1.0
233233

234234
compile-protos-go: install-go-proto-dependencies install-protoc-dependencies
235235
python setup.py build_go_protos
@@ -242,7 +242,7 @@ install-feast-ci-locally:
242242

243243
# Needs feast package to setup the feature store
244244
# CGO flag is due to this issue: https://github.com/golang/go/wiki/InvalidFlag
245-
test-go: compile-protos-go compile-go-lib install-feast-ci-locally
245+
test-go: compile-protos-go compile-protos-python compile-go-lib install-feast-ci-locally
246246
CGO_LDFLAGS_ALLOW=".*" go test -tags cgo,ccalloc ./...
247247

248248
format-go:

0 commit comments

Comments
 (0)