diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ee8052ba73f70333610a23e3557eeb235d99ab7..a47bfc2bc6ffed094b97a1f8acd9dfebcb7d994c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,4 +6,6 @@ test-3.4:
   script:
   #- python3 setup.py test
    - python3 -m coverage run ./tests/run_pytest.py
-   - python3 -m coverage report
\ No newline at end of file
+   - rc=$?
+   - python3 -m coverage report
+   - exit $rc