From ac6a42715d920a451247d6e83a45317ace367b60 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Tue, 18 Jun 2024 16:40:00 +0200 Subject: [PATCH] Fix: Coverage only looked at test files (#128) --- 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",