From 6717c473797339cd58d6f8f00b137e54760e2163 Mon Sep 17 00:00:00 2001 From: Yuanmao Zhu Date: Fri, 17 Feb 2023 18:41:55 -0500 Subject: [PATCH] Fix CI since missing make rules Signed-off-by: Yuanmao Zhu --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Makefile b/Makefile index 8be0b4327..6b3d7a371 100755 --- a/Makefile +++ b/Makefile @@ -104,6 +104,20 @@ docker-clean: stop image-clean ##@Clean all existing images license: scripts/check_license.sh +check: ##@Code Check code format + @$(MAKE) license + find ./docs -type f -name "*.md" -exec egrep -l " +$$" {} \; + cd src/api-engine && tox && cd ${ROOT_PATH} + make docker-compose + MODE=dev make start + sleep 10 + # make test-api + MODE=dev make stop + make check-dashboard + +check-dashboard: + docker compose -f tests/dashboard/docker-compose.yml up --abort-on-container-exit || (echo "check dashboard failed $$?"; exit 1) + clean: make remove-docker-compose @@ -186,3 +200,5 @@ local: docker-compose start-docker-compose dashboard \ docker-compose \ local \ + check \ + check-dashboard \