From 8c06b06c77a08487b0df9e5eaec74b7f231be27a Mon Sep 17 00:00:00 2001 From: seamymckenna Date: Wed, 15 Oct 2025 14:13:00 +0100 Subject: [PATCH 1/2] (maint) keep test env --- .github/workflows/module_acceptance.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/module_acceptance.yml b/.github/workflows/module_acceptance.yml index 3ff132c..74a1b51 100644 --- a/.github/workflows/module_acceptance.yml +++ b/.github/workflows/module_acceptance.yml @@ -26,6 +26,10 @@ on: description: "Disable and stop apparmor" default: false type: boolean + keep_test_env: + description: "Skip removing the test environment if true" + default: false + type: boolean # ENABLE PUPPETCORE. The calling workflow must: @@ -162,7 +166,7 @@ jobs: bundle exec rake 'litmus:acceptance:parallel' - name: "Remove test environment" - if: ${{ always() }} + if: ${{ always() && (inputs.keep_test_env != 'true') }} continue-on-error: true run: | if [[ -f spec/fixtures/litmus_inventory.yaml ]]; then From c7af4379b9fecb771c0ac8aee569c5a3ec16cb55 Mon Sep 17 00:00:00 2001 From: seamymckenna Date: Wed, 15 Oct 2025 14:37:33 +0100 Subject: [PATCH 2/2] (maint) keep test env --- .github/workflows/module_acceptance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/module_acceptance.yml b/.github/workflows/module_acceptance.yml index 74a1b51..777152c 100644 --- a/.github/workflows/module_acceptance.yml +++ b/.github/workflows/module_acceptance.yml @@ -166,7 +166,7 @@ jobs: bundle exec rake 'litmus:acceptance:parallel' - name: "Remove test environment" - if: ${{ always() && (inputs.keep_test_env != 'true') }} + if: ${{ always() && (inputs.keep_test_env != true) }} continue-on-error: true run: | if [[ -f spec/fixtures/litmus_inventory.yaml ]]; then