File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 3232 # Aggregate job that provides a single check for all tests passing
3333 tests :
3434 runs-on : ubuntu-24.04
35+ if : always() # Always run, even on cancellation or failure
3536 needs :
3637 - python
3738 - cassandra
@@ -55,13 +56,21 @@ jobs:
5556 - valkey
5657
5758 steps :
58- - name : Success
59- run : echo "Success!"
59+ - name : Status
60+ if : success()
61+ run : |
62+ echo "Job status: ${{ job.status }}"
63+
64+ if [[ ${{ job.status }} == "success" ]]; then
65+ exit 0
66+ else
67+ exit 1
68+ fi
6069
6170 # Combine and upload coverage data
6271 coverage :
63- if : success() || failure() # Does not run on cancelled workflows
6472 runs-on : ubuntu-24.04
73+ if : success() || failure() # Does not run on cancelled workflows
6574 needs :
6675 - tests
6776
You can’t perform that action at this time.
0 commit comments