diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf9db4df7aa85e4961646efb97d3044c75ff3e22..413809127714c23e3d68ddb420dfdb1922394aa4 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