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]
xaddopts =
addopts =
--cov
--cov-config coverage.ini
--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
# run test
poetry run pytest
poetry run pytest -c pytest.ci.ini
# Delete the test DB
docker rm -f sl-test-db