From 6aab2865bb899cf6b51b35fb58aa27090cbf1d77 Mon Sep 17 00:00:00 2001
From: Bryan  BRANCOTTE <bryan.brancotte@pasteur.fr>
Date: Tue, 8 Feb 2022 12:37:59 +0100
Subject: [PATCH] omit files that are not testable/relevant

---
 src/viralhostrange/resources/docker-entrypoint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/viralhostrange/resources/docker-entrypoint.sh b/src/viralhostrange/resources/docker-entrypoint.sh
index 3ccc61c8..d9a08bc7 100644
--- a/src/viralhostrange/resources/docker-entrypoint.sh
+++ b/src/viralhostrange/resources/docker-entrypoint.sh
@@ -13,7 +13,7 @@ if [ "$1" == "test" ]; then
     python manage.py compilemessages || exit 6
     coverage run --source='.' manage.py test || exit 3
     coverage report --skip-covered --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py
-    coverage html -d persistent_volume/htmlcov
+    coverage html -d persistent_volume/htmlcov --omit=*/wsgi.py,*/asgi.py,manage.py,*/apps.py
     exit 0
 fi
 
-- 
GitLab