Skip to content

Commit

Permalink
Easier branch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-r-santos committed Oct 5, 2024
1 parent 7c4e3ed commit 3b81460
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ jobs:
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

# https://stackoverflow.com/a/75250293
- name: All tests ok
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0

- name: Some tests failed
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

0 comments on commit 3b81460

Please sign in to comment.