From 98fcd12fa73f2d1712806ba7a76fcce60b353141 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sat, 10 Jul 2021 17:34:59 +0200 Subject: [PATCH] Only measure coverage of vdirsyncer/ i.e.: Ignore non-application code like contrib/ --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 092d7da..1fc70c9 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ all: ci-test: curl -s https://codecov.io/bash > $(CODECOV_PATH) - $(PYTEST) --cov-append tests/unit/ tests/system/ + $(PYTEST) --cov vdirsyncer --cov-append tests/unit/ tests/system/ bash $(CODECOV_PATH) -c [ "$(ETESYNC_TESTS)" = "false" ] || make test-storage @@ -51,7 +51,7 @@ ci-test-storage: curl -s https://codecov.io/bash > $(CODECOV_PATH) set -ex; \ for server in $(DAV_SERVER); do \ - DAV_SERVER=$$server $(PYTEST) --cov-append tests/storage; \ + DAV_SERVER=$$server $(PYTEST) --cov vdirsyncer --cov-append tests/storage; \ done bash $(CODECOV_PATH) -c