@@ -75,7 +75,6 @@ permissions:
75
75
76
76
jobs :
77
77
Get-TestSuites :
78
- name : Get-TestSuites
79
78
uses : ./.github/workflows/Get-TestSuites.yml
80
79
with :
81
80
SkipTests : ${{ inputs.SkipTests }}
86
85
WorkingDirectory : ${{ inputs.WorkingDirectory }}
87
86
88
87
Test-SourceCode :
89
- name : Test-SourceCode
90
88
if : ${{ needs.Get-TestSuites.outputs.SourceCodeTestSuites != '[]' }}
91
89
needs :
92
90
- Get-TestSuites
@@ -128,7 +126,6 @@ jobs:
128
126
WorkingDirectory : ${{ inputs.WorkingDirectory }}
129
127
130
128
Test-Module :
131
- name : Test-Module
132
129
if : ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleTestSuites != '[]' }}
133
130
needs :
134
131
- Build-Module
@@ -150,7 +147,6 @@ jobs:
150
147
WorkingDirectory : ${{ inputs.WorkingDirectory }}
151
148
152
149
Test-ModuleLocal :
153
- name : ${{ matrix.TestName }}
154
150
if : ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleLocalTestSuites != '[]' }}
155
151
needs :
156
152
- Build-Module
@@ -174,7 +170,6 @@ jobs:
174
170
WorkingDirectory : ${{ inputs.WorkingDirectory }}
175
171
176
172
Get-TestResults :
177
- name : Get-TestResults
178
173
if : always() && !cancelled()
179
174
needs :
180
175
- Test-SourceCode
@@ -189,7 +184,6 @@ jobs:
189
184
Version : ${{ inputs.Version }}
190
185
191
186
Get-CodeCoverage :
192
- name : Get-CodeCoverage
193
187
if : always() && !cancelled()
194
188
needs :
195
189
- Test-SourceCode
@@ -203,8 +197,7 @@ jobs:
203
197
Verbose : ${{ inputs.Verbose }}
204
198
Version : ${{ inputs.Version }}
205
199
206
- PublishModule :
207
- name : Publish module
200
+ Publish-Module :
208
201
if : ${{ needs.Get-TestResults.result == 'success' && needs.Get-CodeCoverage.result == 'success' && needs.Build-Docs.result == 'success' && !cancelled() && github.event_name == 'pull_request' }}
209
202
needs :
210
203
- Get-TestResults
@@ -245,8 +238,7 @@ jobs:
245
238
Verbose : ${{ inputs.Verbose }}
246
239
Version : ${{ inputs.Version }}
247
240
248
- PublishSite :
249
- name : Publish documentation
241
+ Publish-Site :
250
242
if : ${{ needs.Get-TestResults.result == 'success' && needs.Get-CodeCoverage.result == 'success' && needs.Build-Docs.result == 'success' && !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.merged == true }}
251
243
needs :
252
244
- Get-TestResults
0 commit comments