Skip to content

Commit

Permalink
CI: Fix test success job (#3010)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi authored Jul 30, 2024
1 parent 38197d6 commit 61d37dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,18 @@ jobs:
# this aggregates success state of all jobs listed in `needs`
# this is the only required check to pass CI
name: "Test success"
if: always()
runs-on: ubuntu-latest
needs: [test]
steps:
- name: "Noop"
- name: "Success"
if: needs.test.result == 'success'
run: true
shell: bash
- name: "Failure"
if: needs.test.result != 'success'
run: false
shell: bash

draft:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 61d37dc

Please sign in to comment.