From f1faacf0310f72d35ca5d35518c7e826ba98cd6c Mon Sep 17 00:00:00 2001 From: Adrian Webb Date: Wed, 28 Aug 2024 16:23:20 -0400 Subject: [PATCH] Fixing mypy path in the test docker script. --- tests/test_docker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_docker.sh b/tests/test_docker.sh index 44cda08..2428aa2 100644 --- a/tests/test_docker.sh +++ b/tests/test_docker.sh @@ -18,10 +18,11 @@ cd nexical_core_interface docker compose build # run the project's type checks -docker compose run api mypy nexical_core_interface +docker compose run api mypy app # run the project's tests -docker compose run api pytest +docker compose run ui pytest -o 'python_files=test_ui_*.py' +docker compose run api pytest -o 'python_files=test_api_*.py' # return non-zero status code if there are migrations that have not been created docker compose run api python manage.py makemigrations --dry-run --check || { echo "ERROR: there were changes in the models, but migration listed above have not been created and are not saved in version control"; exit 1; }