Add some live tests.
This commit is contained in:
parent
d19bc66c61
commit
74d9c211c9
4 changed files with 146 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue