From 8d8b54c69ab78c7140976e954a04e365051ed060 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Fri, 24 Apr 2020 09:37:27 +0200
Subject: [PATCH] [conda] Add coverage reports to documentation

---
 conda/meta.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index d29a4263..118616db 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -47,7 +47,7 @@ test:
   imports:
     - {{ name }}
   commands:
-    - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
+    - nosetests --with-coverage --cover-package={{ name }} --cover-erase --cover-html --cover-html-dir={{ project_dir }}/sphinx/coverage -sv {{ name }}
     - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
     - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
     - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
-- 
GitLab