From 3a5d7625f35269f5d4815b22ea890d16a69e9b10 Mon Sep 17 00:00:00 2001 From: Wei Cao Date: Sun, 8 Sep 2024 11:38:21 +0800 Subject: [PATCH] chore: fix make test (#65) --- Makefile | 6 +++++- go.mod | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b487c6a..47f68861 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,10 @@ run: build ./$(BINARY_NAME) # Test target -.PHONY: test +.PHONY: test-full test: go test -cover ./... + +.PHONY: test +test: + go test -cover $(shell go list ./... | grep -v './binlogreplication' | grep -v './transpiler') \ No newline at end of file diff --git a/go.mod b/go.mod index 0a16c265..9a24b8c5 100644 --- a/go.mod +++ b/go.mod @@ -14,6 +14,7 @@ require ( github.com/marcboeker/go-duckdb v1.7.1 github.com/prometheus/client_golang v1.19.0 github.com/rs/zerolog v1.33.0 + github.com/shopspring/decimal v1.3.1 github.com/sirupsen/logrus v1.8.1 github.com/stretchr/testify v1.9.0 gopkg.in/src-d/go-errors.v1 v1.0.0 @@ -62,7 +63,6 @@ require ( github.com/prometheus/procfs v0.13.0 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/xid v1.5.0 // indirect - github.com/shopspring/decimal v1.3.1 // indirect github.com/tetratelabs/wazero v1.1.0 // indirect github.com/twpayne/go-geom v1.3.6 // indirect github.com/twpayne/go-kml v1.5.2-0.20200728095708-9f2fd4dfcbfe // indirect