Moved pytest.ini to pytest.ci.ini

This commit is contained in:
Adrià Casajús 2022-05-20 14:45:33 +02:00
parent 220f21bb2a
commit ef7dac6da0
No known key found for this signature in database
GPG Key ID: F0033226A5AFC9B9
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[pytest] [pytest]
xaddopts = addopts =
--cov --cov
--cov-config coverage.ini --cov-config coverage.ini
--cov-report=html:htmlcov --cov-report=html:htmlcov

2
scripts/run-test.sh Normal file → Executable file
View File

@ -13,7 +13,7 @@ sleep 3
CONFIG=tests/test.env poetry run alembic upgrade head CONFIG=tests/test.env poetry run alembic upgrade head
# run test # run test
poetry run pytest poetry run pytest -c pytest.ci.ini
# Delete the test DB # Delete the test DB
docker rm -f sl-test-db docker rm -f sl-test-db