From 080c1613546c143729f0e11269e7ba4a0b19979f Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Wed, 29 Jan 2020 22:16:05 +0100
Subject: [PATCH] CI: Fixed coverage reporting.

---
 .gitlab-ci.yml   | 4 +++-
 requirements.txt | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf8a1fa..e5cd361 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,9 @@ test:
   script:
   - pip install -U -r requirements.txt
   - coverage run --source=aiogremlin/ setup.py test
-
+  - python -m unittest discover
+  - coverage report -m
+  coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
 pages:
   script:
   - pip install -U -r requirements.txt
diff --git a/requirements.txt b/requirements.txt
index 7a09f07..0e326fe 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,6 +4,7 @@ six==1.14.0
 aenum==2.2.3
 aiohttp==3.6.2
 inflection==0.3.1
+coverage==5.0.3
 
 #for testing
 pytest-asyncio>=0.10.0
-- 
GitLab