diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ad5bf26c51f10e050b904e785fc0e8e275bbc8d..f945db0aa09e35969150ad9a0474abdd7b69a192 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,8 +68,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 bac812af278b66adeb18d574e92781a7a8bd5e9b..717e4f98d9edee33cc1b11b66b42c53a84705161 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