File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 73
73
cargo xtask init
74
74
- name : Check
75
75
run : |
76
- ${{ matrix.run_args.command }}
76
+ ${{ matrix.run_args.command }}
77
+ - name: Report code coverage
78
+ uses : dethereum/github-actions-report-lcov@v1.0.0
79
+ - name : Upload existing lcov files if any exist
80
+ uses : actions/upload-artifact@v2
81
+ with :
82
+ name : lcov-${{ matrix.run_args.os }}-${{ matrix.run_args.name }}
83
+ path : |
84
+ **/lcov.*
85
+ if-no-files-found : ignore
86
+
87
+ report-coverage :
88
+ permissions :
89
+ pull-requests : write
90
+ steps :
91
+ - name : Download all lcov files
92
+ uses : actions/download-artifact@v2
93
+ with :
94
+ merge-multiple : true
95
+ pattern : lcov-*
96
+ download-path : coverage
97
+ - name : Report code coverage
98
+ uses : dethereum/github-actions-report-lcov@v1.0.0
99
+ with :
100
+ coverage-files : coverage/lcov.*
101
+ minimum-coverage : 50
102
+ artifact-name : code-coverage-report
103
+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments