Skip to content

Commit

Permalink
Fix CI since missing make rules
Browse files Browse the repository at this point in the history
Signed-off-by: Yuanmao Zhu <[email protected]>
  • Loading branch information
zhuyuanmao committed Feb 17, 2023
1 parent e22b60e commit 6717c47
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -186,3 +200,5 @@ local: docker-compose start-docker-compose
dashboard \
docker-compose \
local \
check \
check-dashboard \

0 comments on commit 6717c47

Please sign in to comment.