From 9d942a3e84fdb0eab4e7716c34bef0d25cd07f08 Mon Sep 17 00:00:00 2001 From: Rin Kuryloski Date: Thu, 16 Mar 2023 09:24:52 +0100 Subject: [PATCH] Add "Summary" jobs to test workflows in actions These exist to make it easier to manage the branch protection rules, so that required checks don't change when OTP versions change in a branch (cherry picked from commit f32e34691e695d30719a3e54d378cecc5c6e25cb) --- .github/workflows/oci.yaml | 9 +++++++++ .github/workflows/test-mixed-versions.yaml | 9 +++++++++ .github/workflows/test-selenium.yaml | 11 ++++++++++- .github/workflows/test-windows.yaml | 8 ++++++++ .github/workflows/test.yaml | 9 +++++++++ 5 files changed, 45 insertions(+), 1 deletion(-) diff --git a/.github/workflows/oci.yaml b/.github/workflows/oci.yaml index 64f49c003443..631404e27279 100644 --- a/.github/workflows/oci.yaml +++ b/.github/workflows/oci.yaml @@ -133,3 +133,12 @@ jobs: docker push pivotalrabbitmq/rabbitmq:${TAG_1} docker push pivotalrabbitmq/rabbitmq:${TAG_2} + + summary: + needs: + - build-publish-dev-bazel + runs-on: ubuntu-latest + steps: + - name: SUMMARY + run: | + echo "SUCCESS" diff --git a/.github/workflows/test-mixed-versions.yaml b/.github/workflows/test-mixed-versions.yaml index 5e477c0c9034..3b39d615cdf5 100644 --- a/.github/workflows/test-mixed-versions.yaml +++ b/.github/workflows/test-mixed-versions.yaml @@ -215,3 +215,12 @@ jobs: --build_tests_only \ --test_env RABBITMQ_CT_HELPERS_DELETE_UNUSED_NODES=true \ --verbose_failures + summary: + needs: + - test-mixed-versions + - test-exclusive-mixed-versions + runs-on: ubuntu-latest + steps: + - name: SUMMARY + run: | + echo "SUCCESS" diff --git a/.github/workflows/test-selenium.yaml b/.github/workflows/test-selenium.yaml index 6c2fbc0fb8da..de981e70b8aa 100644 --- a/.github/workflows/test-selenium.yaml +++ b/.github/workflows/test-selenium.yaml @@ -21,7 +21,7 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: - selenimum: + selenium: runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -101,3 +101,12 @@ jobs: path: | logs/* screens/* + + summary: + needs: + - selenium + runs-on: ubuntu-latest + steps: + - name: SUMMARY + run: | + echo "SUCCESS" diff --git a/.github/workflows/test-windows.yaml b/.github/workflows/test-windows.yaml index b2948a3a1f61..0c154a517993 100644 --- a/.github/workflows/test-windows.yaml +++ b/.github/workflows/test-windows.yaml @@ -63,3 +63,11 @@ jobs: --test_tag_filters=-aws,-docker,-bats,-starts-background-broker ^ --build_tests_only ^ --verbose_failures + summary: + needs: + - test + runs-on: ubuntu-latest + steps: + - name: SUMMARY + run: | + echo "SUCCESS" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e460f6e376e1..8440b20c620f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -127,3 +127,12 @@ jobs: --build_tests_only \ --test_env RABBITMQ_CT_HELPERS_DELETE_UNUSED_NODES=true \ --verbose_failures + summary: + needs: + - test + - test-exclusive + runs-on: ubuntu-latest + steps: + - name: SUMMARY + run: | + echo "SUCCESS"