Skip to content

Commit

Permalink
Add go vet target and fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
edcdavid committed Aug 21, 2024
1 parent 44b30f4 commit ec6aee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ lint-all:
$(MAKE) lint -C ./pkg/lib
$(MAKE) lint -C ./pkg/export
$(MAKE) lint -C ./examples/basic
vet:
go vet ${GO_PACKAGES}
test:
./scripts/test.sh
2 changes: 2 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ make build
kind delete cluster --name test-cluster || true
kind create cluster --name test-cluster --config kind-config.yaml

export KUBECONFIG=~/.kube/config

./simplegraphsolver 2>&1 | sed 's/veth[a-zA-Z0-9]\+/veth/g' | sed 's/time="[^"]*" //' >test/actual.txt

diff test/actual.txt test/expected.txt

0 comments on commit ec6aee2

Please sign in to comment.