File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
base_coverage :
8
+ continue-on-error : true
8
9
runs-on : ubuntu-latest
9
10
steps :
10
11
- uses : actions/checkout@v3
@@ -116,6 +117,7 @@ jobs:
116
117
name : base-coverage.lcov
117
118
118
119
- name : Generate Code Coverage report
120
+ if : success()
119
121
id : code-coverage
120
122
uses : barecheck/code-coverage-action@v1
121
123
with :
@@ -124,4 +126,15 @@ jobs:
124
126
base-lcov-file : " ./base-coverage.lcov"
125
127
minimum-ratio : 0
126
128
send-summary-comment : true
127
- show-annotations : " warning"
129
+ show-annotations : " warning"
130
+
131
+ - name : Generate Code Coverage report if base job fails
132
+ if : failure()
133
+ id : code-coverage
134
+ uses : barecheck/code-coverage-action@v1
135
+ with :
136
+ barecheck-github-app-token : ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
137
+ lcov-file : " ./coverage.lcov"
138
+ minimum-ratio : 0
139
+ send-summary-comment : true
140
+ show-annotations : " warning"
You can’t perform that action at this time.
0 commit comments