mirror of
https://github.com/meineerde/rackstash.git
synced 2026-02-01 01:37:12 +00:00
Collect Coveralls coverage on all supported OS's
This commit is contained in:
parent
005ff5d116
commit
40f08f6acd
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -36,7 +36,6 @@ jobs:
|
||||
|
||||
include:
|
||||
- ruby: ruby-2.7
|
||||
os: ubuntu
|
||||
env:
|
||||
COVERAGE: 'true'
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user