Skip to content

Commit

Permalink
ci: Fix go unit tests failure (#3078)
Browse files Browse the repository at this point in the history
* ci: Fix go unit tests failure

Signed-off-by: Danny Chiao <danny@tecton.ai>

* Temporary fix?

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>

* Fix

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>

* Fix

Signed-off-by: Kevin Zhang <kzhang@tecton.ai>

Signed-off-by: Danny Chiao <danny@tecton.ai>
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
Co-authored-by: Kevin Zhang <kzhang@tecton.ai>
  • Loading branch information
adchia and kevjumba authored Aug 12, 2022
1 parent cdfa761 commit 0ed1a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ install-go-ci-dependencies:
python -m pip install pybindgen==0.22.0 protobuf==3.20.1

install-protoc-dependencies:
pip install grpcio-tools==1.47.0 mypy-protobuf==3.1.0
pip install --ignore-installed protobuf grpcio-tools==1.47.0 mypy-protobuf==3.1.0

compile-protos-go: install-go-proto-dependencies install-protoc-dependencies
python setup.py build_go_protos
Expand All @@ -317,7 +317,7 @@ install-feast-ci-locally:

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

format-go:
Expand Down

0 comments on commit 0ed1a63

Please sign in to comment.