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 fd398ca
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .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 @@ -66,10 +65,25 @@ jobs:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
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 fd398ca

Please sign in to comment.