From a5c6b853e81a518db352b347987bdead9d832c97 Mon Sep 17 00:00:00 2001 From: erikzaadi Date: Mon, 6 Jan 2025 13:28:46 +0200 Subject: [PATCH] [DROP] Debug CI --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 7e89beca8b..68c98248a7 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,24 @@ ACTIVATE := . .venv/bin/activate define run_checks exit_code=0; \ + echo "Before all => $$exit_code"; \ cd $1; \ echo "Running poetry check"; \ poetry check || exit_code=$$?;\ + echo "Ran poetry - got $$? -> val = $$exit_code"; \ echo "Running mypy"; \ mypy . --exclude '/\.venv/' || exit_code=$$?; \ + echo "Ran mypy - got $$? -> val = $$exit_code"; \ echo "Running ruff"; \ ruff check . || exit_code=$$?; \ + echo "Ran ruff - got $$? -> val = $$exit_code"; \ echo "Running black"; \ black --check . || exit_code=$$?; \ + echo "Ran black - got $$? -> val = $$exit_code"; \ echo "Running yamllint"; \ yamllint . || exit_code=$$?; \ + echo "Ran yamllint - got $$? -> val = $$exit_code"; \ + echo "Before check => $$exit_code"; \ if [ $$exit_code -eq 1 ]; then \ echo "\033[0;31mOne or more checks failed with exit code $$exit_code\033[0m"; \ else \