Skip to content

Commit

Permalink
ci: simplify pr check succeeds with re-actors/all-greens
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Dec 9, 2024
1 parent a9809f4 commit 29ce1d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ jobs:
run: hatch -e ${{ matrix.hatch-env-name }} run test-cov
- name: Coverage report
run: hatch run cov-report

check:
name: check all unit tests pass
runs-on: ubuntu-latest
needs: test
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 29ce1d7

Please sign in to comment.