Skip to content

Commit 61d37dc

Browse files
authored
CI: Fix test success job (#3010)
1 parent 38197d6 commit 61d37dc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,18 @@ jobs:
4646
# this aggregates success state of all jobs listed in `needs`
4747
# this is the only required check to pass CI
4848
name: "Test success"
49+
if: always()
4950
runs-on: ubuntu-latest
5051
needs: [test]
5152
steps:
52-
- name: "Noop"
53+
- name: "Success"
54+
if: needs.test.result == 'success'
5355
run: true
5456
shell: bash
57+
- name: "Failure"
58+
if: needs.test.result != 'success'
59+
run: false
60+
shell: bash
5561

5662
draft:
5763
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)