build: add a collection step so we can simplify required checks
This commit is contained in:
committed by
Ned Batchelder
parent
18fcbc33ef
commit
1e0f0e344b
13
.github/workflows/unit-tests.yml
vendored
13
.github/workflows/unit-tests.yml
vendored
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user