Skip to content

Commit d0f00a9

Browse files
authored
Add a check job to GHA testing workflow (#1788)
1 parent 7023f91 commit d0f00a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/tox.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,18 @@ jobs:
223223
with:
224224
path: .tox/junit.*.xml
225225
if: always()
226+
227+
check: # This job does nothing and is only used for the branch protection
228+
if: always()
229+
230+
needs:
231+
- linters
232+
- unit
233+
234+
runs-on: Ubuntu-latest
235+
236+
steps:
237+
- name: Decide whether the needed jobs succeeded or failed
238+
uses: re-actors/alls-green@release/v1
239+
with:
240+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)