Skip to content

Commit ae03f52

Browse files
🩹 [CI]: Remove redundant job names from CI workflows for clarity
1 parent 79c09ca commit ae03f52

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ permissions:
7070

7171
jobs:
7272
Get-TestSuites:
73-
name: Get-TestSuites
7473
uses: ./.github/workflows/Get-TestSuites.yml
7574
with:
7675
SkipTests: ${{ inputs.SkipTests }}
@@ -81,7 +80,6 @@ jobs:
8180
WorkingDirectory: ${{ inputs.WorkingDirectory }}
8281

8382
Test-SourceCode:
84-
name: Test-SourceCode
8583
if: ${{ needs.Get-TestSuites.outputs.SourceCodeTestSuites != '[]' }}
8684
needs:
8785
- Get-TestSuites
@@ -123,7 +121,6 @@ jobs:
123121
WorkingDirectory: ${{ inputs.WorkingDirectory }}
124122

125123
Test-Module:
126-
name: Test-Module
127124
if: ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleTestSuites != '[]' }}
128125
needs:
129126
- Build-Module
@@ -145,7 +142,6 @@ jobs:
145142
WorkingDirectory: ${{ inputs.WorkingDirectory }}
146143

147144
Test-ModuleLocal:
148-
name: ${{ matrix.TestName }}
149145
if: ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleLocalTestSuites != '[]' }}
150146
needs:
151147
- Build-Module
@@ -169,7 +165,6 @@ jobs:
169165
WorkingDirectory: ${{ inputs.WorkingDirectory }}
170166

171167
Get-TestResults:
172-
name: Get-TestResults
173168
if: always() && !cancelled()
174169
needs:
175170
- Test-SourceCode
@@ -184,7 +179,6 @@ jobs:
184179
Version: ${{ inputs.Version }}
185180

186181
Get-CodeCoverage:
187-
name: Get-CodeCoverage
188182
if: always() && !cancelled()
189183
needs:
190184
- Test-SourceCode

.github/workflows/workflow.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ permissions:
7575

7676
jobs:
7777
Get-TestSuites:
78-
name: Get-TestSuites
7978
uses: ./.github/workflows/Get-TestSuites.yml
8079
with:
8180
SkipTests: ${{ inputs.SkipTests }}
@@ -86,7 +85,6 @@ jobs:
8685
WorkingDirectory: ${{ inputs.WorkingDirectory }}
8786

8887
Test-SourceCode:
89-
name: Test-SourceCode
9088
if: ${{ needs.Get-TestSuites.outputs.SourceCodeTestSuites != '[]' }}
9189
needs:
9290
- Get-TestSuites
@@ -128,7 +126,6 @@ jobs:
128126
WorkingDirectory: ${{ inputs.WorkingDirectory }}
129127

130128
Test-Module:
131-
name: Test-Module
132129
if: ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleTestSuites != '[]' }}
133130
needs:
134131
- Build-Module
@@ -150,7 +147,6 @@ jobs:
150147
WorkingDirectory: ${{ inputs.WorkingDirectory }}
151148

152149
Test-ModuleLocal:
153-
name: ${{ matrix.TestName }}
154150
if: ${{ needs.Build-Module.result == 'success' && !cancelled() && needs.Get-TestSuites.outputs.ModuleLocalTestSuites != '[]' }}
155151
needs:
156152
- Build-Module
@@ -174,7 +170,6 @@ jobs:
174170
WorkingDirectory: ${{ inputs.WorkingDirectory }}
175171

176172
Get-TestResults:
177-
name: Get-TestResults
178173
if: always() && !cancelled()
179174
needs:
180175
- Test-SourceCode
@@ -189,7 +184,6 @@ jobs:
189184
Version: ${{ inputs.Version }}
190185

191186
Get-CodeCoverage:
192-
name: Get-CodeCoverage
193187
if: always() && !cancelled()
194188
needs:
195189
- Test-SourceCode
@@ -203,8 +197,7 @@ jobs:
203197
Verbose: ${{ inputs.Verbose }}
204198
Version: ${{ inputs.Version }}
205199

206-
PublishModule:
207-
name: Publish module
200+
Publish-Module:
208201
if: ${{ needs.Get-TestResults.result == 'success' && needs.Get-CodeCoverage.result == 'success' && needs.Build-Docs.result == 'success' && !cancelled() && github.event_name == 'pull_request' }}
209202
needs:
210203
- Get-TestResults
@@ -245,8 +238,7 @@ jobs:
245238
Verbose: ${{ inputs.Verbose }}
246239
Version: ${{ inputs.Version }}
247240

248-
PublishSite:
249-
name: Publish documentation
241+
Publish-Site:
250242
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 }}
251243
needs:
252244
- Get-TestResults

0 commit comments

Comments
 (0)