From dda4ba43d5673e4d00b64a8d5140cce708d21651 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 15 Sep 2024 13:45:24 +0200 Subject: [PATCH] debug! --- Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e897abe334dc..0a16679f0c6b 100644 --- a/Makefile +++ b/Makefile @@ -415,7 +415,16 @@ test_collection_sanity: cd $(COLLECTION_INSTALL) && \ ansible-test sanity $(COLLECTION_SANITY_ARGS) --coverage --junit && \ ansible-test coverage xml --requirements --group-by command --group-by version - @if [ "${GITHUB_ACTIONS}" = "true" ]; \ + echo "GITHUB_ACTIONS=${GITHUB_ACTIONS}" + echo "curly: $(shell echo ${COLLECTION_INSTALL})" + echo "round: $(shell echo $(COLLECTION_INSTALL))" + echo "ls: $(shell ls $(COLLECTION_INSTALL))" + echo "ls -m: $(shell ls -m $(COLLECTION_INSTALL))" + echo "ls -m rep dir: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/)" + echo "ls -m ju dir: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/junit/)" + echo "ls -m rep mask: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/coverage=sanity*.xml)" + echo "ls -m ju mask: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/junit/*.xml)" + if [ "${GITHUB_ACTIONS}" = "true" ]; \ then \ echo cov-report-files="$(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/coverage=sanity*.xml)" >> "${GITHUB_OUTPUT}"; \ echo test-result-files="$(shell ls -m $(COLLECTION_INSTALL)/tests/output/junit/*.xml)" >> "${GITHUB_OUTPUT}"; \ @@ -425,7 +434,14 @@ test_collection_integration: install_collection cd $(COLLECTION_INSTALL) && \ ansible-test integration --coverage -vvv $(COLLECTION_TEST_TARGET) && \ ansible-test coverage xml --requirements --group-by command --group-by version - @if [ "${GITHUB_ACTIONS}" = "true" ]; \ + echo "GITHUB_ACTIONS=${GITHUB_ACTIONS}" + echo "curly: $(shell echo ${COLLECTION_INSTALL})" + echo "round: $(shell echo $(COLLECTION_INSTALL))" + echo "ls: $(shell ls $(COLLECTION_INSTALL))" + echo "ls -m: $(shell ls -m $(COLLECTION_INSTALL))" + echo "ls -m rep dir: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/)" + echo "ls -m rep mask: $(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/coverage=sanity*.xml)" + if [ "${GITHUB_ACTIONS}" = "true" ]; \ then \ echo cov-report-files="$(shell ls -m $(COLLECTION_INSTALL)/tests/output/reports/coverage=integration*.xml)" >> "${GITHUB_OUTPUT}"; \ fi