From e9a4a37621e717da6ed6d8ea1f8937d2797bd6a0 Mon Sep 17 00:00:00 2001
From: Baptiste Bauvin <baptiste.bauvin@lis-lab.fr>
Date: Fri, 24 Apr 2020 11:54:52 -0400
Subject: [PATCH] badge

---
 .gitlab-ci.yml | 4 ++++
 README.md      | 1 +
 2 files changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c1b6126c..fa35318f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,10 @@ tests:
     script:
         - pip3 install -e . --no-deps
         - pytest-3
+    coverage: '/^TOTAL.+?(\d+\%)$/'
+    artifacts:
+        paths:
+            - htmlcov/
 
 # generate the documentation
 doc:
diff --git a/README.md b/README.md
index 0147a490..5cfad381 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
 [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)
 [![Build Status](https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/develop/pipeline.svg)](https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/develop/pipeline.svg)
+[![Coverage Report](https://gitlab.lis-lab.fr/baptiste.bauvin/summit/badges/master/coverage.svg)](https://gitlab.lis-lab.fr/dev/scikit-multimodallearn/badges/master)
 # Supervised MultiModal Integration Tool's Readme
 
 This project aims to be an easy-to-use solution to run a prior benchmark on a dataset and evaluate mono- & multi-view algorithms capacity to classify it correctly.
-- 
GitLab