Skip to content

Commit

Permalink
debug!
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Sep 15, 2024
1 parent ef07678 commit 36b0671
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,16 @@ test_collection_sanity:
cd $(COLLECTION_INSTALL) && \
ansible-test sanity --coverage --junit $(COLLECTION_SANITY_ARGS) && \
ansible-test coverage xml $(COLLECTION_SANITY_ARGS) --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}"; \
Expand All @@ -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
Expand Down

0 comments on commit 36b0671

Please sign in to comment.