File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 12
12
- ' AUTHORS'
13
13
workflow_dispatch :
14
14
inputs :
15
+ debug :
16
+ description : " Debug"
17
+ type : boolean
18
+ required : false
19
+ default : true
15
20
run_spec :
16
21
description : " Run Spec job"
17
22
type : boolean
38
43
uses : ./.github/workflows/module_spec.yml
39
44
secrets : inherit
40
45
with :
46
+ debug : ${{ inputs.debug == 'true' ? true : false }}
41
47
ignore_dependency_check : true # TODO: remove after module updates
42
48
matrix : ${{ needs.Matrix.outputs.spec_matrix }}
43
49
Acceptance :
46
52
uses : ./.github/workflows/module_acceptance.yml
47
53
secrets : inherit
48
54
with :
55
+ debug : ${{ inputs.debug == 'true' ? true : false }}
49
56
matrix : ${{ needs.Matrix.outputs.acceptance_matrix }}
50
57
runs_on : ubuntu-20.04 # TODO: cgroupv1 containers do not provision on ubuntu-latest
Original file line number Diff line number Diff line change 22
22
23
23
jobs :
24
24
generate-json-matrix :
25
- name : Generate output
25
+ name : Generate
26
26
runs-on : ${{ inputs.runs_on }}
27
27
outputs :
28
28
spec_matrix : ${{ steps.get-matrix.outputs.spec_matrix }}
Original file line number Diff line number Diff line change @@ -51,12 +51,14 @@ jobs:
51
51
ruby-version : ${{ inputs.ruby_version }}
52
52
bundler-cache : true
53
53
54
- - name : Bundle environment
54
+ - name : Debug
55
55
if : ${{ inputs.debug == 'true' }}
56
56
run : |
57
57
echo ::group::bundler environment
58
58
bundle env
59
59
echo ::endgroup::
60
+ echo "RSPEC_DEBUG=1" >> $GITHUB_ENV
61
+ echo "DEBUG=1" >> $GITHUB_ENV
60
62
61
63
- name : Provision test environment
62
64
timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -48,12 +48,14 @@ jobs:
48
48
ruby-version : ${{ matrix.ruby_version }}
49
49
bundler-cache : true
50
50
51
- - name : " Bundle environment "
51
+ - name : Debug
52
52
if : ${{ inputs.debug == 'true' }}
53
53
run : |
54
54
echo ::group::bundler environment
55
55
bundle env
56
56
echo ::endgroup::
57
+ echo "RSPEC_DEBUG=1" >> $GITHUB_ENV
58
+ echo "DEBUG=1" >> $GITHUB_ENV
57
59
58
60
- name : " Run static & syntax tests"
59
61
run : |
You can’t perform that action at this time.
0 commit comments