Moved pytest.ini to pytest.ci.ini
This commit is contained in:
parent
220f21bb2a
commit
ef7dac6da0
2 changed files with 2 additions and 2 deletions
|
@ -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
2
scripts/run-test.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Reference in a new issue