docker and docker tests
This commit is contained in:
1
scripts/db_prepare.sql
Normal file
1
scripts/db_prepare.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE DATABASE fastfood_db_test WITH OWNER postgres;
|
2
scripts/migrate_and_run.sh
Normal file
2
scripts/migrate_and_run.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
poetry run python manage.py --run-test-server
|
2
scripts/testing.sh
Normal file
2
scripts/testing.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
poetry run pytest -vv
|
Reference in New Issue
Block a user