Add some live tests.

This commit is contained in:
Chris Berkhout 2021-08-11 15:00:58 +02:00
parent d19bc66c61
commit 74d9c211c9
4 changed files with 146 additions and 9 deletions

View file

@ -14,11 +14,19 @@ before_script:
- pip install poetry
- poetry install
pre-commit:
script:
- make pre-commit
test:
script:
- poetry run isort src tests --check
- poetry run black src tests --check
- poetry run flake8 src tests
- poetry run pytest
test-live:
script:
- tests/live.sh
coverage:
script:
- poetry run coverage run --source=pricehist -m pytest
- poetry run coverage report