From 704a259562349be0fa1a17d493754db00a97dc15 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 11 Apr 2021 16:35:43 -0400 Subject: build: keep the cog sample report working We use PYTEST_ADDOPTS=-n8 locally, and for some reason that keeps the cog line from measuring any data. This keeps it working --- howto.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'howto.txt') diff --git a/howto.txt b/howto.txt index 02b8406c..318b8bc5 100644 --- a/howto.txt +++ b/howto.txt @@ -26,7 +26,7 @@ $ pip install -e . $ cd ~/cog/trunk $ rm -rf htmlcov - $ coverage run --branch --source=cogapp -m pytest -k CogTestsInMemory; coverage combine; coverage html + $ PYTEST_ADDOPTS= coverage run --branch --source=cogapp -m pytest -k CogTestsInMemory; coverage combine; coverage html - IF PRE-RELEASE: $ rm -f ~/coverage/trunk/doc/sample_html_beta/*.* $ cp -r htmlcov/ ~/coverage/trunk/doc/sample_html_beta/ -- cgit v1.2.1