ci: added jobs to coveralls workflow

This commit is contained in:
Sergiu Deitsch 2021-11-11 00:25:00 +01:00
parent 0798a37bb0
commit 6c9f5b2ec4

View File

@ -3,3 +3,30 @@ name: Coveralls
on:
workflow_run:
workflows: [Linux]
types:
- completed
- requested
jobs:
coveralls:
runs-on: ubuntu-latest
env:
NODE_COVERALLS_DEBUG: 1
steps:
- name: Upload Coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage.info
parallel: true
finish:
needs: coveralls
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true