diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f103b..e32098f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ test:pytest: - apt update && apt install build-essential - pip install -r requirements.txt --quiet - pip install pytest - - DISABLE_METRICS=true pytest tests + - DISABLE_METRICS=true python -m pytest tests test:pylint: script: diff --git a/scripts/quicktest.sh b/scripts/quicktest.sh index 983474b..93cfe88 100755 --- a/scripts/quicktest.sh +++ b/scripts/quicktest.sh @@ -5,5 +5,5 @@ set -e bandit -r app flake8 app mypy app -pytest tests +python -m pytest tests