tests: switch from nose to pytest

This commit is contained in:
Iain Learmonth 2023-03-30 14:11:09 +01:00
parent 2ad5da6e3b
commit 36cc1dc7ab
4 changed files with 96 additions and 43 deletions

View file

@ -41,13 +41,13 @@ test:mypy:
- pip install -r requirements-types.txt --quiet
- mypy app
test:nose:
test:pytest:
script:
- cp config.yaml.example config.yaml
- apt update && apt install build-essential
- pip install -r requirements.txt --quiet
- pip install nose
- DISABLE_METRICS=true nosetests tests
- pip install pytest
- DISABLE_METRICS=true pytest tests
test:pylint:
script: