Skip to content

Commit

Permalink
Collect Coveralls coverage on all supported OS's
Browse files Browse the repository at this point in the history
  • Loading branch information
meineerde committed Jul 23, 2020
1 parent 005ff5d commit 40f08f6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:

include:
- ruby: ruby-2.7
os: ubuntu
env:
COVERAGE: 'true'

Expand Down Expand Up @@ -68,8 +67,23 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov/rackstash.lcov
flag-name: rspec-${{ matrix.os }}-${{ matrix.ruby }}
parallel: true
if: matrix.env.COVERAGE == 'true'

coveralls:
needs: rspec
if: ${{ always() }}

runs-on: ubuntu-latest

steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

rubocop:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 40f08f6

Please sign in to comment.