From 2963c3494f3fac0ad080d3eecaf6b318438ac99e Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sun, 14 Jul 2024 16:47:26 -0400 Subject: [PATCH] Fix: coveralls closing builds. --- .github/workflows/test.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 273db1be..10620f3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - { ruby: "3.3" } - { ruby: ruby-head, ignore: true } - { ruby: jruby-head, ignore: true } - name: test (ruby=${{ matrix.entry.ruby }}, concurrency=${{ matrix.entry.concurrency || 'none' }}) + name: test (ruby=${{ matrix.entry.ruby }}${{ matrix.entry.concurrency && ', concurrency=' }}${{ matrix.entry.concurrency }}) steps: - name: Checkout uses: actions/checkout@v4 @@ -35,8 +35,19 @@ jobs: RACK_ENV: test run: bundle exec rake - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: + parallel: true github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Coveralls Finished - uses: coverallsapp/github-action@master + flag-name: run-${{ matrix.entry.ruby }}${{ matrix.entry.concurrency && '-'}}${{ matrix.entry.concurrency }} + + finish: + name: coveralls + needs: test + runs-on: ubuntu-latest + steps: + - name: Close Parallel Build + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true + carryforward: 'run-2.7,run-2.7-async-websocket,run-3.0,run-3.1,run-3.2,run-3.3'