Skip to content

Commit fd567ea

Browse files
committed
Add a summary job that checks whether all tests passed
We can use this to add a status check to ensure that only PRs passing all tests can be merged. The commit ID I used for the alls-green action is taken from the current tip of the release/v1 branch. (It's not clear whether the action is maintained, but using a commit hash means we don't have to care about any future changes unless we actively decide to.)
1 parent 82e4f11 commit fd567ea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,13 @@ jobs:
6262
- name: Test with tox with forced minimum dependencies
6363
if: matrix.versions.min-deps
6464
run: tox -vv -e py,py-smtp ${{ matrix.versions.min-deps }}
65+
66+
summary:
67+
runs-on: ubuntu-latest
68+
needs:
69+
- build
70+
steps:
71+
- name: Summarize job statuses
72+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
73+
with:
74+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)