mirror of
https://github.com/simple-login/app.git
synced 2025-02-22 23:02:55 +08:00
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]
|
[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
2
scripts/run-test.sh
Normal file → Executable 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
|
||||||
|
|
Loading…
Reference in a new issue