From 243e625aa610a301da7595175132644d6657b9cb Mon Sep 17 00:00:00 2001 From: plebhash Date: Wed, 17 Jul 2024 11:30:02 -0300 Subject: [PATCH] add mg-aggregate-results Github only allows branch protection rules based on specific CI jobs. So we are adding a new job that just takes all the other MG test jobs as a prerequisite, and we use this as an umbrella rule for branch protection. --- .github/workflows/mg.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mg.yaml b/.github/workflows/mg.yaml index 7a98ff242..ed41fb9de 100644 --- a/.github/workflows/mg.yaml +++ b/.github/workflows/mg.yaml @@ -157,4 +157,29 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Run translation-proxy-old-share - run: sh ./test/message-generator/test/translation-proxy-old-share/translation-proxy-old-share.sh \ No newline at end of file + run: sh ./test/message-generator/test/translation-proxy-old-share/translation-proxy-old-share.sh + + mg-aggregate-results: + name: "Aggregate MG Test Results" + runs-on: ubuntu-latest + needs: + - bad-pool-config-test + - interop-jd-translator + - interop-proxy-with-multi-ups + - interop-proxy-with-multi-ups-extended + - jds-do-not-fail-on-wrong-tsdatasucc + - jds-do-not-panic-if-jdc-close-connection + - jds-do-not-stackoverflow-when-no-token + - pool-sri-test-1-standard + - pool-sri-test-close-channel + - pool-sri-test-extended_0 + - pool-sri-test-extended_1 + - pool-sri-test-reject-auth + - standard-coverage + - sv1-test + - translation-proxy-broke-pool + - translation-proxy + - translation-proxy-old-share + steps: + - name: Aggregate MG Test Results + run: echo "All MG tests completed successfully" \ No newline at end of file