From: 2weiEmu Date: Mon, 13 Apr 2026 07:58:01 +0000 (+0200) Subject: updated: added test to makefile X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=902650e6fd1b75bfc9081f0c87a154d05bd008b2;p=binbsis50-sm.git updated: added test to makefile --- 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 ''