ci(pytest): ensure current directory in python path when running

This commit is contained in:
Iain Learmonth 2023-03-30 15:56:14 +01:00
parent d5b9db24ff
commit 480b2b0d65
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -5,5 +5,5 @@ set -e
bandit -r app
flake8 app
mypy app
pytest tests
python -m pytest tests