Fixed broken tests
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jordi Loyzaga 2024-04-27 18:52:56 -06:00
parent c09af57c62
commit fd1dfe878d
3 changed files with 4 additions and 5 deletions

View File

@ -5,4 +5,4 @@ printf "\n\n|| Starting ruff check ||\n\n"
ruff check --config=./pyproject.toml
printf "\n\n|| Starting bandit check ||\n\n"
bandit -r lockbox/
bandit -r lockbox/ -c ./pyproject.toml

View File

@ -1,3 +1,6 @@
printf "\n\n|| Installing test requirements ||\n\n"
pip install -r requirements_test.txt
cd lockbox
printf "\n\n|| Starting setup ||\n\n"
python manage.py migrate

View File

@ -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"
pytest --cov=. --cov-report term-missing --reuse-db