Skip to content

Commit

Permalink
👷 Add GitHub Action gate/check (fastapi#5492)
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Jan 7, 2023
1 parent 59d6546 commit 2583a83
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,19 @@ jobs:
with:
name: coverage-html
path: htmlcov

# https://github.com/marketplace/actions/alls-green#why
check: # This job does nothing and is only used for the branch protection

if: always()

needs:
- coverage-combine

runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 2583a83

Please sign in to comment.