Fixed broken tests
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c09af57c62
commit
fd1dfe878d
|
|
@ -5,4 +5,4 @@ printf "\n\n|| Starting ruff check ||\n\n"
|
||||||
ruff check --config=./pyproject.toml
|
ruff check --config=./pyproject.toml
|
||||||
|
|
||||||
printf "\n\n|| Starting bandit check ||\n\n"
|
printf "\n\n|| Starting bandit check ||\n\n"
|
||||||
bandit -r lockbox/
|
bandit -r lockbox/ -c ./pyproject.toml
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
printf "\n\n|| Installing test requirements ||\n\n"
|
||||||
|
pip install -r requirements_test.txt
|
||||||
|
|
||||||
cd lockbox
|
cd lockbox
|
||||||
printf "\n\n|| Starting setup ||\n\n"
|
printf "\n\n|| Starting setup ||\n\n"
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
@ -1,6 +1,2 @@
|
||||||
printf "\n\n|| Installing test requirements ||\n\n"
|
|
||||||
pip install -r requirements_test.txt
|
|
||||||
|
|
||||||
cd lockbox
|
|
||||||
printf "\n\n|| Starting pytest run ||\n\n"
|
printf "\n\n|| Starting pytest run ||\n\n"
|
||||||
pytest --cov=. --cov-report term-missing --reuse-db
|
pytest --cov=. --cov-report term-missing --reuse-db
|
||||||
Loading…
Reference in New Issue