From 45b637a6d9501d22e39f224eb5ead6ac5b36ad12 Mon Sep 17 00:00:00 2001 From: Gary H <26419401+Gary-H9@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:08:43 +0000 Subject: [PATCH] :test_tube: Add dummy test --- Makefile | 6 ++++-- tests/test.py | 1 - tests/test_file.py | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 tests/test.py create mode 100644 tests/test_file.py 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