diff --git a/Makefile b/Makefile index 046c806..136b92a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ #!make -IMAGE_NAME = ghcr.io/ministryofjustice/analytical-platform-ollamate:local +IMAGE_NAME=ghcr.io/ministryofjustice/analytical-platform-ollamate:local + +phony: test build-static: make build-css @@ -44,7 +46,7 @@ cst: build-container test: build-container @echo @echo "> Running Python Tests (In Docker)..." - IMAGE_TAG=$(IMAGE_NAME) docker compose --file=contrib/docker-compose-test.yml run --rm interfaces + export IMAGE_TAG=$(IMAGE_NAME); env | grep IMAGE; docker compose --file=contrib/docker-compose-test.yml run --rm interfaces ct: ct lint --charts chart diff --git a/tests/test.py b/tests/test.py deleted file mode 100644 index 71db2e3..0000000 --- a/tests/test.py +++ /dev/null @@ -1 +0,0 @@ -# import pytest diff --git a/tests/test_file.py b/tests/test_file.py new file mode 100644 index 0000000..09bb463 --- /dev/null +++ b/tests/test_file.py @@ -0,0 +1,2 @@ +def test_always_pass(): + assert True