diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f84f29f8f35e73671be06e725923700bdc31dc9..5ca7ae3ba9f695c20a0ea0e8292fa10773a7aa18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,8 +39,7 @@ testsuite:
     - pip install "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev"
     - pip install -e .
   script:
-    - coverage run -m pytest -v
-    - coverage report
+    - pytest -v
     - coverage html
     - coverage xml
   coverage: '/TOTAL.*\s+(\d+%)$/'
diff --git a/pytest.ini b/pytest.ini
index 94a3a6c5cd76967b094d0e26bab983291057461d..8eb047cc9f4e18d995e09941d9e5d30a2ef0ff41 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -3,6 +3,6 @@ testpaths = src/pystencilssfg tests/
 python_files = "test_*.py"
 #   Need to ignore the generator scripts, otherwise they would be executed
 #   during test collection
-addopts = --doctest-modules --ignore=tests/generator_scripts/scripts
+addopts = --doctest-modules --ignore=tests/generator_scripts/scripts --cov=src/pystencilssfg --cov-report=term
 
 doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL