Add aggregate "tests" job (#370)

Adds an aggregate "tests" job to CI so that we can gate merges on that
without needing to keep merge gates up-to-date with the names of the
various jobs that collectively represent "all tests".

Also dropped the `pull-request` trigger, which I included originally
because I wasn't sure whether the tests on push would run for forks,
which they do!
This commit is contained in:
Matthew Planchard 2021-02-02 20:36:41 -06:00 committed by GitHub
parent cf424c982d
commit df7454ff20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -8,8 +8,6 @@ on:
# executable, from back in the day before docker & a better pip.
branches-ignore:
- standalone
pull_request: {}
jobs:
test-cpython:
@ -89,3 +87,15 @@ jobs:
run: pip install --use-feature 2020-resolver -U twine
- name: Run tests
run: ./bin/test-docker.sh
tests:
runs-on: "ubuntu-latest"
needs:
- "check"
- "docker"
- "test-cpython"
- "test-pypy"
steps:
- name: "Everything is good!"
run: "echo true"