We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94f2fe commit 8c06b06Copy full SHA for 8c06b06
.github/workflows/module_acceptance.yml
@@ -26,6 +26,10 @@ on:
26
description: "Disable and stop apparmor"
27
default: false
28
type: boolean
29
+ keep_test_env:
30
+ description: "Skip removing the test environment if true"
31
+ default: false
32
+ type: boolean
33
34
35
# ENABLE PUPPETCORE. The calling workflow must:
@@ -162,7 +166,7 @@ jobs:
162
166
bundle exec rake 'litmus:acceptance:parallel'
163
167
164
168
- name: "Remove test environment"
165
- if: ${{ always() }}
169
+ if: ${{ always() && (inputs.keep_test_env != 'true') }}
170
continue-on-error: true
171
run: |
172
if [[ -f spec/fixtures/litmus_inventory.yaml ]]; then
0 commit comments