@@ -148,55 +148,6 @@ jobs:
148
148
statuses : write
149
149
name : Test ${{ matrix.testSet.name }} on ${{ matrix.testSet.host }}
150
150
151
- tmp_tests :
152
- if : ${{ contains( fromJson('["tmp-tests","all-tests"]'), inputs.test ) || inputs.event_name == 'push' }}
153
- name : Temp test
154
- runs-on : ubuntu-latest
155
- permissions :
156
- statuses : write
157
- steps :
158
-
159
- # Don't use gh checks as they are woefully underdeveloped as a feature leading
160
- # to confusing UI and misplaced metrics
161
- # https://github.com/orgs/community/discussions/24616
162
- - name : Set pending status
163
- id : check_run_start
164
- uses : actions/github-script@v7
165
- with :
166
- github-token : ${{ secrets.GITHUB_TOKEN }}
167
- script : |
168
- github.rest.repos.createCommitStatus({
169
- owner: context.repo.owner,
170
- repo: context.repo.repo,
171
- sha: context.sha,
172
- target_url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
173
- description: 'dummy',
174
- context: '${{ inputs.test }}',
175
- state: 'pending'
176
- })
177
-
178
- - name : dummy
179
- id : dummy
180
- run : |
181
- echo "Hello World!"
182
- sleep 5
183
-
184
- - name : Set completed status
185
- uses : actions/github-script@v7
186
- with :
187
- github-token : ${{ secrets.GITHUB_TOKEN }}
188
- script : |
189
- github.rest.repos.createCommitStatus({
190
- owner: context.repo.owner,
191
- repo: context.repo.repo,
192
- sha: context.sha,
193
- target_url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}',
194
- description: 'dummy',
195
- context: '${{ inputs.test }}',
196
- state: '${{ contains( fromJson('["success","failure","error"]'),steps.dummy.outcome ) && steps.dummy.outcome || 'error' }}'
197
- })
198
-
199
-
200
151
201
152
# # In the event that 'all-tests' is used, this final job will be the one to remove
202
153
# # the label from the PR
0 commit comments