From fe53a11704f9939654ab805aeb9930054476cea1 Mon Sep 17 00:00:00 2001 From: alexanderbazhenoff Date: Sat, 6 Apr 2024 22:06:05 +0300 Subject: [PATCH] fixes debug --- .github/workflows/ansible_molecule_teststing.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ansible_molecule_teststing.yml b/.github/workflows/ansible_molecule_teststing.yml index b462839..1a5d8d9 100644 --- a/.github/workflows/ansible_molecule_teststing.yml +++ b/.github/workflows/ansible_molecule_teststing.yml @@ -69,6 +69,10 @@ jobs: cd roles/bareos DEBUG_OPT="$([[ "${{ github.event.head_commit.message }}" =~ .(debug) ]] && echo '--debug')" echo "DEBUG_OPT: $DEBUG_OPT" + set -x + if [[ -f "requirements.yml" ]]; then + ansible-galaxy collection install -r requirements.yml + fi poetry --ansi run molecule $DEBUG_OPT test env: PY_COLORS: '1'