Skip to content

Commit d27214e

Browse files
committed
el7 failures? add workflow debug flag
1 parent 58a827e commit d27214e

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
- 'AUTHORS'
1313
workflow_dispatch:
1414
inputs:
15+
debug:
16+
description: "Debug"
17+
type: boolean
18+
required: false
19+
default: true
1520
run_spec:
1621
description: "Run Spec job"
1722
type: boolean
@@ -38,6 +43,7 @@ jobs:
3843
uses: ./.github/workflows/module_spec.yml
3944
secrets: inherit
4045
with:
46+
debug: ${{ inputs.debug == 'true' ? true : false }}
4147
ignore_dependency_check: true # TODO: remove after module updates
4248
matrix: ${{ needs.Matrix.outputs.spec_matrix }}
4349
Acceptance:
@@ -46,5 +52,6 @@ jobs:
4652
uses: ./.github/workflows/module_acceptance.yml
4753
secrets: inherit
4854
with:
55+
debug: ${{ inputs.debug == 'true' ? true : false }}
4956
matrix: ${{ needs.Matrix.outputs.acceptance_matrix }}
5057
runs_on: ubuntu-20.04 # TODO: cgroupv1 containers do not provision on ubuntu-latest

.github/workflows/matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
generate-json-matrix:
25-
name: Generate output
25+
name: Generate
2626
runs-on: ${{ inputs.runs_on }}
2727
outputs:
2828
spec_matrix: ${{ steps.get-matrix.outputs.spec_matrix }}

.github/workflows/module_acceptance.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@ jobs:
5151
ruby-version: ${{ inputs.ruby_version }}
5252
bundler-cache: true
5353

54-
- name: Bundle environment
54+
- name: Debug
5555
if: ${{ inputs.debug == 'true' }}
5656
run: |
5757
echo ::group::bundler environment
5858
bundle env
5959
echo ::endgroup::
60+
echo "RSPEC_DEBUG=1" >> $GITHUB_ENV
61+
echo "DEBUG=1" >> $GITHUB_ENV
6062
6163
- name: Provision test environment
6264
timeout-minutes: 10

.github/workflows/module_spec.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ jobs:
4848
ruby-version: ${{ matrix.ruby_version }}
4949
bundler-cache: true
5050

51-
- name: "Bundle environment"
51+
- name: Debug
5252
if: ${{ inputs.debug == 'true' }}
5353
run: |
5454
echo ::group::bundler environment
5555
bundle env
5656
echo ::endgroup::
57+
echo "RSPEC_DEBUG=1" >> $GITHUB_ENV
58+
echo "DEBUG=1" >> $GITHUB_ENV
5759
5860
- name: "Run static & syntax tests"
5961
run: |

0 commit comments

Comments
 (0)