@@ -18,27 +18,18 @@ jobs:
18
18
outputs :
19
19
repo_owner : ${{ steps.repo_owner.outputs.lowercase }}
20
20
os_matrix : " {\" os_version\" :[\" debian10\" ,\" debian11\" ,\" ubuntu16\" ,\" ubuntu18\" ,\" ubuntu20\" ]}"
21
- testsNeeded : ${{ steps.testsNeeded.outputs.testsNeeded }}
22
21
steps :
23
22
- name : Check out the repo
24
23
uses : actions/checkout@v3
25
24
- name : Lowercase repo owner
26
25
id : repo_owner
27
26
run : echo "lowercase=$(echo ${{ github.repository_owner }} | tr \"[:upper:]\" \"[:lower:]\")" >>$GITHUB_OUTPUT
28
27
shell : bash
29
- - name : testsNeeded
30
- id : testsNeeded
31
- uses : dorny/paths-filter@v2
32
- with :
33
- filters : |
34
- testsNeeded:
35
- - '!**.md'
36
28
37
29
build_nodes :
38
30
name : Build node images
39
31
runs-on : ubuntu-latest
40
32
needs : workflow_setup
41
- if : ${{ needs.workflow_setup.outputs.testsNeeded == 'true' }}
42
33
strategy :
43
34
matrix : ${{ fromJson(needs.workflow_setup.outputs.os_matrix) }}
44
35
steps :
83
74
name : Build controller image
84
75
runs-on : ubuntu-latest
85
76
needs : workflow_setup
86
- if : ${{ needs.workflow_setup.outputs.testsNeeded == 'true' }}
87
77
steps :
88
78
- name : Check out the repo
89
79
uses : actions/checkout@v3
@@ -120,7 +110,6 @@ jobs:
120
110
test_node_and_controller :
121
111
runs-on : ubuntu-latest
122
112
needs : [workflow_setup, build_controller, build_nodes]
123
- if : ${{ needs.workflow_setup.outputs.testsNeeded == 'true' }}
124
113
strategy :
125
114
matrix : ${{ fromJson(needs.workflow_setup.outputs.os_matrix) }}
126
115
fail-fast : false
@@ -199,7 +188,7 @@ jobs:
199
188
name : statusCheck
200
189
runs-on : ubuntu-latest
201
190
needs : [workflow_setup, test_node_and_controller]
202
- if : ${{ needs.workflow_setup.outputs.testsNeeded == 'false' || success() }}
191
+ if : ${{ success() }}
203
192
steps :
204
193
- run : ' echo "Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail)." '
205
194
0 commit comments