From d4524a8cfb0f3ec8e4ae5e26babdf538c3d1250d Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Fri, 14 Jun 2024 19:38:11 +0200 Subject: [PATCH] Fix: Coverage only looked at test files --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f2046681..8a70e9c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,8 +127,8 @@ dependencies = [ "secp256k1", ] [tool.hatch.envs.testing.scripts] -test = "pytest {args:tests}" -test-cov = "pytest --cov {args:tests}" +test = "pytest {args:} ./src/ ./tests/ ./examples/" +test-cov = "pytest --cov {args:} ./src/ ./tests/ ./examples/" cov-report = [ "- coverage combine", "coverage report",