diff --git a/pytest.ini b/pytest.ci.ini similarity index 90% rename from pytest.ini rename to pytest.ci.ini index c0f5472c..3d362baf 100644 --- a/pytest.ini +++ b/pytest.ci.ini @@ -1,5 +1,5 @@ [pytest] -xaddopts = +addopts = --cov --cov-config coverage.ini --cov-report=html:htmlcov diff --git a/scripts/run-test.sh b/scripts/run-test.sh old mode 100644 new mode 100755 index 37599204..b403b765 --- a/scripts/run-test.sh +++ b/scripts/run-test.sh @@ -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