Adapt tests to package directory structure.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2024-10-06 12:33:18 +02:00
committed by Andreas
parent 7d25194585
commit 9f78966c89
6 changed files with 20 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
# Define the targets
.PHONY: help venv pip docker-run docs clean
.PHONY: help venv pip test docker-run docs clean
# Default target
all: help
@@ -38,6 +38,11 @@ run:
@echo "Starting flask server, please wait..."
.venv/bin/python ./flask_server.py
# Target to run tests.
test:
@echo "Running tests..."
.venv/bin/pytest
# Run entire setup on docker
docker-run:
@docker compose up