build: add a collection step so we can simplify required checks

This commit is contained in:
Ned Batchelder
2022-09-23 13:48:27 -04:00
committed by Ned Batchelder
parent 18fcbc33ef
commit 1e0f0e344b

View File

@@ -34,6 +34,8 @@ jobs:
- "common-1"
- "common-2"
- "xmodule-1"
# We expect Django 4.0 to fail, so don't stop when it fails.
continue-on-error: ${{ matrix.django-version == '4.0' }}
steps:
- name: sync directory owner
@@ -74,6 +76,17 @@ jobs:
- name: Setup and run tests
uses: ./.github/actions/unit-tests
success:
name: Tests successful
# A collection step to give a simple name for required status checks.
# https://github.com/orgs/community/discussions/33579
needs: run-tests
runs-on: ubuntu-latest
steps:
- name: "Success"
run: |
echo Tests successful
compile-warnings-report:
runs-on: [ edx-platform-runner ]
needs: [ run-tests ]