From 1e0f0e344b41c0001cdc0b800ea154da9aeac611 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Sep 2022 13:48:27 -0400 Subject: [PATCH] build: add a collection step so we can simplify required checks --- .github/workflows/unit-tests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 0172a113f2..b2777e1893 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -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 ]