diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3253f5f9cc096e65b33c335f9878b5daa670188..2ad8646b0c5c11ad898afe172c8d902fbec712ea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,6 +43,6 @@ tests:
     NOMAD_ELASTIC_HOST: elastic
     NOMAD_MONGO_HOST: mongo
   script:
-    - pytest -sv tests/
+    - pytest --cov=nomad -sv tests/
   tags:
     - docker
diff --git a/README.md b/README.md
index 2cd37d806f5e6acf8199a60d1498bd4900034563..a789a078dae954057a06d8ecae479aea4f09bf80 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
+[![pipeline status](https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/badges/master/pipeline.svg)](https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/commits/master)
+[![coverage report](https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/badges/master/coverage.svg)](https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/commits/master)
+
 This project tries and test approaches that might lead to an improved architecture for
 nomad@FAIR.
 
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 9e55a29b2c99679e6e612cd7ab6dca2b7c18d79f..388efce37857a25b22a109dd6f53a22e312ca26e 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -7,6 +7,7 @@ pylint-mongoengine
 pycodestyle
 pytest
 pytest-timeout
+pytest-cov
 rope
 mongomock