From 0886913e76306de8064deea3a1829a4b38e51676 Mon Sep 17 00:00:00 2001 From: erikzaadi Date: Mon, 6 Jan 2025 13:28:46 +0200 Subject: [PATCH] [DROP] Debug CI --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 7e89beca8b..6b6fe43aac 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,25 @@ ACTIVATE := . .venv/bin/activate define run_checks exit_code=0; \ + echo "Before all => $$exit_code"; \ + poetry --version; \ 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 \