From c164f754f89fe61f1e61a9976c10b316857bc805 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sun, 7 Apr 2024 18:39:27 -0700 Subject: [PATCH] Roll up all matrix results into 1 spec_legacy_ruby_all job --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa560d6..283fb63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,3 +40,14 @@ jobs: bundler: "1.17.3" bundler-cache: true - run: bundle exec rake test + spec_legacy_ruby_all: + runs-on: ubuntu-latest + needs: [spec_legacy_ruby, spec_legacy_ruby_19] + if: always() + steps: + - name: All tests ok + if: ${{ !(contains(needs.*.result, 'failure')) }} + run: exit 0 + - name: Some tests failed + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1