@@ -259,12 +259,16 @@ jobs:
259
259
- name : run ${{ matrix.unit_type }}
260
260
run : make ${{ matrix.unit_type }}
261
261
262
+ - name : Clean coverage
263
+ run : grep -Ev '(\.pb\.go|\.pb\.json\.go|\.pb\.gw\.go)' coverage.txt > coverage-norpc.txt
264
+ if : matrix.unit_type == 'unit-cover'
265
+
262
266
- name : Send coverage
263
267
uses : coverallsapp/github-action@v2
264
268
if : matrix.unit_type == 'unit-cover'
265
269
continue-on-error : true
266
270
with :
267
- file : coverage.txt
271
+ file : coverage-norpc .txt
268
272
flag-name : ' unit'
269
273
format : ' golang'
270
274
parallel : true
@@ -315,12 +319,16 @@ jobs:
315
319
- name : run ${{ matrix.name }}
316
320
run : make itest-parallel tranches=${{ env.TRANCHES }} ${{ matrix.args }} shuffleseed=${{ github.run_id }}${{ strategy.job-index }}
317
321
322
+ - name : Clean coverage
323
+ run : grep -Ev '(\.pb\.go|\.pb\.json\.go|\.pb\.gw\.go)' coverage.txt > coverage-norpc.txt
324
+ if : ${{ contains(matrix.args, 'cover=1') }}
325
+
318
326
- name : Send coverage
319
327
if : ${{ contains(matrix.args, 'cover=1') }}
320
328
continue-on-error : true
321
329
uses : coverallsapp/github-action@v2
322
330
with :
323
- file : coverage.txt
331
+ file : coverage-norpc .txt
324
332
flag-name : ' itest-${{ matrix.name }}'
325
333
format : ' golang'
326
334
parallel : true
@@ -384,12 +392,16 @@ jobs:
384
392
- name : run ${{ matrix.name }}
385
393
run : make itest-parallel tranches=${{ env.SMALL_TRANCHES }} ${{ matrix.args }} shuffleseed=${{ github.run_id }}${{ strategy.job-index }}
386
394
395
+ - name : Clean coverage
396
+ run : grep -Ev '(\.pb\.go|\.pb\.json\.go|\.pb\.gw\.go)' coverage.txt > coverage-norpc.txt
397
+ if : ${{ contains(matrix.args, 'cover=1') }}
398
+
387
399
- name : Send coverage
388
400
if : ${{ contains(matrix.args, 'cover=1') }}
389
401
continue-on-error : true
390
402
uses : coverallsapp/github-action@v2
391
403
with :
392
- file : coverage.txt
404
+ file : coverage-norpc .txt
393
405
flag-name : ' itest-${{ matrix.name }}'
394
406
format : ' golang'
395
407
parallel : true
0 commit comments