mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Adapt tests to package directory structure.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user