Fixed code coverage step in build
parent
93d2547ac4
commit
d2c9f97f0c
|
@ -30,4 +30,8 @@ jobs:
|
|||
- name: Uninstrument
|
||||
run: minicover uninstrument
|
||||
- name: Report
|
||||
run: minicover coverallsreport --repo-token ${{ secrets.COVERALLS_TOKEN }} --branch ${{ github.ref }}
|
||||
run: minicover report --threshold 80
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
- name: Report coveralls
|
||||
run: minicover coverallsreport --repo-token ${{ secrets.COVERALLS_TOKEN }} --branch ${{ github.ref#refs/heads/ }}
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
|
|
Loading…
Reference in New Issue