Skip to content

Commit

Permalink
Fix: coveralls closing builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Jul 14, 2024
1 parent efb0cb8 commit 2963c34
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

0 comments on commit 2963c34

Please sign in to comment.