From a5f77c5d63fb0b18dfa92a356409d479e23b8bdf Mon Sep 17 00:00:00 2001 From: Zxilly Date: Wed, 27 Nov 2024 14:44:47 +0800 Subject: [PATCH] test: update coverpkg --- scripts/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tests.py b/scripts/tests.py index 2e9202f23..df93b66af 100644 --- a/scripts/tests.py +++ b/scripts/tests.py @@ -123,7 +123,7 @@ def run_unit_tests(full: bool, wasm: bool, no_embed: bool): "-v", "-covermode=atomic", "-cover", - "-coverpkg=../../...", + "-coverpkg=github.com/Zxilly/go-size-analyzer/...", f"-test.gocoverdir={unit_path}"], 600)