From eb46b454cbe09f66584912b2d7263be59c175560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Garcia?= Date: Tue, 15 Mar 2022 21:01:14 -0300 Subject: [PATCH] Simplify run-all-tests script --- run-all-tests.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run-all-tests.sh b/run-all-tests.sh index 53de783..5fd405f 100755 --- a/run-all-tests.sh +++ b/run-all-tests.sh @@ -3,6 +3,4 @@ # Generate the coverate.txt file for all modules: find . -name go.mod -execdir go test -coverprofile=coverage.txt -covermode=atomic -coverpkg=github.com/vingarcia/ksql ./... \; -# Merge all coverage files: -echo 'mode: atomic' > coverage.txt -find . -name coverage.txt -exec cat partial-coverage.txt \; | grep -v 'mode: atomic' | sort >> coverage.txt +# codecov will find all `coverate.txt` files, so it will work fine.