From d334ec630f6a04e1559117fb89458c2872630093 Mon Sep 17 00:00:00 2001 From: Thu Trang Pham Date: Tue, 9 Feb 2021 17:10:05 -0800 Subject: [PATCH] Don't include pyenv libs in coverage --- Makefile | 2 +- README.md | 5 +++++ coverage.svg | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8136d45..9eec126 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ run: ./tests/manage.py runserver test: - coverage run --branch -m pytest + coverage run --source admin_confirm --branch -m pytest coverage html coverage-badge -f -o coverage.svg diff --git a/README.md b/README.md index 95f375d..04f5167 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,11 @@ tox Testing new changes on test project: +``` +pip install -e . +make run +``` + ## Feature List This is a list of features which could potentially be added in the future. Some of which might make more sense in their own package. diff --git a/coverage.svg b/coverage.svg index 5cc1bb5..e5db27c 100644 --- a/coverage.svg +++ b/coverage.svg @@ -9,13 +9,13 @@ - + coverage coverage - 42% - 42% + 100% + 100%