Skip to content

Commit

Permalink
fix: add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpantos committed Sep 6, 2024
1 parent f1618b4 commit f1b5205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ bandit-check:
# ACTIONS_RUNNER_DEBUG is used in github actions
.PHONY: test
test:
@if [ "$(DEBUG)" = "true" ] || [ "$(ACTIONS_RUNNER_DEBUG)" = "true" ]; then \
@if [ "$(DEBUG)" = "true" ] || [ "$(CI)" = "true" ]; then \
export DEBUG=true; \
LOG_LEVEL="--log-cli-level=debug"; \
echo "Running tests with debug output"; \
else \
LOG_LEVEL=""; \
fi; \
Expand All @@ -60,6 +61,7 @@ coverage:
@if [ "$(DEBUG)" = "true" ] || [ "$(CI)" = "true" ]; then \
export DEBUG=true; \
LOG_LEVEL="--log-cli-level=debug"; \
echo "Running tests with debug output"; \
else \
LOG_LEVEL=""; \
fi; \
Expand Down

0 comments on commit f1b5205

Please sign in to comment.