From ef7dac6da0684aa06fe8af6be790db44a2e23ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Casaj=C3=BAs?= Date: Fri, 20 May 2022 14:45:33 +0200 Subject: [PATCH] Moved pytest.ini to pytest.ci.ini --- pytest.ini => pytest.ci.ini | 2 +- scripts/run-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename pytest.ini => pytest.ci.ini (90%) mode change 100644 => 100755 scripts/run-test.sh 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