Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/module_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down