Commit 8e1cba0 1 parent cb1c78c commit 8e1cba0 Copy full SHA for 8e1cba0
File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ The action's step needs to run after your test suite has outputted an LCOV file.
29
29
| ` compare-ref ` | _ optional_ | Branch name to compare coverage with. Specify if you want to always check coverage change for PRs against one branch. |
30
30
| ` compare-sha ` | _ optional_ | Commit SHA to compare coverage with. |
31
31
| ` debug ` | _ optional_ | Default: ` false ` . Set to ` true ` to enable debug logging. |
32
+ | ` measure ` | _ optional_ | Default: ` false ` . Set to ` true ` to enable time time measurement logging. |
32
33
33
34
### Outputs:
34
35
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ inputs:
55
55
description : ' Enable debug output'
56
56
required : false
57
57
default : false
58
+ measure :
59
+ description : ' Show execution time of parsing and reporting'
60
+ required : false
61
+ default : false
58
62
outputs :
59
63
coveralls-api-result :
60
64
description : ' Result status of Coveralls API post.'
@@ -100,7 +104,7 @@ runs:
100
104
- name : Done report
101
105
if : inputs.parallel-finished == 'true'
102
106
shell : bash
103
- run : coveralls done ${{ inputs.debug == 'true' && '--debug' || '' }}
107
+ run : coveralls done ${{ inputs.debug == 'true' && '--debug' || '' }} ${{ inputs.measure == 'true' && '--measure' || '' }}
104
108
env :
105
109
COVERALLS_DEBUG : ${{ inputs.debug }}
106
110
COVERALLS_CARRYFORWARD_FLAGS : ${{ inputs.carryforward }}
@@ -117,6 +121,7 @@ runs:
117
121
run : >-
118
122
coveralls report
119
123
${{ inputs.debug == 'true' && '--debug' || '' }}
124
+ ${{ inputs.measure == 'true' && '--measure' || '' }}
120
125
${{ inputs.allow-empty == 'true' && '--allow-empty' || '' }}
121
126
${{ inputs.base-path && format('--base-path {0}', inputs.base-path) || '' }}
122
127
${{ inputs.format && format('--format {0}', inputs.format) || '' }}
You can’t perform that action at this time.
0 commit comments