Skip to content

Commit

Permalink
add coveralls #2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwebgr committed Mar 8, 2024
1 parent bb1527c commit f2a84db
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
test_number:
- 1
- 2

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand All @@ -38,20 +34,5 @@ jobs:
# uses: joshmfrankel/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Test ${{ matrix.test_number }}
run: make test-coverage-${{ matrix.test_number }}
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-1,run-2"
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]

0 comments on commit f2a84db

Please sign in to comment.