diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0a74039dbe947ea540cc3ef365a52af6067a633..41fc7196d5cf099c101559623a654bc7d2fa5f5c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,8 +62,8 @@ lint:
   stage: tests
   image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
   script:
-    - poetry install --no-dev
-    - make tests
+    - poetry install
+    - poetry run pytest
 
 tests-3.6:
   extends: .tests
diff --git a/Makefile b/Makefile
index ce9b71653a0fbd7346d0baf82da1346955f4d77a..d193166dfcaef9023e47fa6655fcd326c9719a8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,10 @@
-.PHONY: docs tests check check-format mypy pylint format build deploy deploy_test
+.PHONY: docs check check-format mypy pylint format build deploy deploy_test
 .SILENT: deploy deploy_test # do not echo commands with password
 
 # generate documentation
 docs:
 	cd docs && rm duniterpy.*; poetry run sphinx-apidoc -o . ../duniterpy && make clean && make html && cd ..
 
-# run tests
-tests:
-	poetry run python3 -m unittest ${TESTS_FILTER}
-
 # check
 check: mypy pylint check-format