From 902650e6fd1b75bfc9081f0c87a154d05bd008b2 Mon Sep 17 00:00:00 2001 From: 2weiEmu Date: Mon, 13 Apr 2026 09:58:01 +0200 Subject: [PATCH] updated: added test to makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index ec7129b..026d301 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,10 @@ default: . go build . ./songmanager -port 8000 -binb_location="" -songs_location="./testing/songs/" -redis_location="localhost:6379" -container_name="" +test: + sudo docker stop redis || true + sudo docker rm redis || true + sudo docker run -d --name redis -p 6379:6379 redis:latest + + python3 ./testing/dummy_testing_data.py + go test -run '' -- 2.54.0