File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,29 @@ jobs:
7575 - grpc_test
7676 timeout-minutes : 60
7777 steps :
78+ - name : Check out code
79+ uses : actions/checkout@v4
7880 - name : Download code coverage results
7981 uses : actions/download-artifact@v5
82+ with :
83+ name : coverage
84+ path : coverage
8085 - run : |
8186 echo 'mode: atomic' > summary.txt
82- tail -q -n +2 *.out >> summary.txt
83- sed -i '2,${/roadrunner/!d}' summary.txt
87+ tail -q -n +2 coverage/*.out >> summary.txt
88+ awk '
89+ NR == 1 { print; next }
90+ /^github\.com\/roadrunner-server\/grpc\/v5\// {
91+ sub(/^github\.com\/roadrunner-server\/grpc\/v5\//, "", $0)
92+ print
93+ next
94+ }
95+ /^github\.com\/roadrunner-server\/grpc\/protoc_plugins\/v5\// {
96+ sub(/^github\.com\/roadrunner-server\/grpc\/protoc_plugins\/v5\//, "protoc_plugins/", $0)
97+ print
98+ }
99+ ' summary.txt > summary.filtered.txt
100+ mv summary.filtered.txt summary.txt
84101 - name : upload to codecov
85102 uses : codecov/codecov-action@v5 # Docs: <https://github.com/codecov/codecov-action>
86103 with :
You can’t perform that action at this time.
0 commit comments