mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
use coveralls action
This commit is contained in:
parent
c2e663eca0
commit
fbb06dac52
1 changed files with 17 additions and 5 deletions
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
|
@ -37,8 +37,20 @@ jobs:
|
|||
run: pytest
|
||||
working-directory: nwb_linkml
|
||||
|
||||
- name: Report coverage
|
||||
working-directory: nwb_linkml
|
||||
run: "coveralls --service=github"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Coveralls Parallel
|
||||
uses: coverallsapp/github-action@v2.3.0
|
||||
if: runner.os != 'macOS'
|
||||
with:
|
||||
flag-name: run-${{ join(matrix.*, '-') }}
|
||||
parallel: true
|
||||
debug: true
|
||||
|
||||
finish-coverage:
|
||||
needs: test
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@v2.3.0
|
||||
with:
|
||||
parallel-finished: true
|
Loading…
Reference in a new issue