Skip to content

Commit

Permalink
Merge pull request #723 from google/coverage-use-templates
Browse files Browse the repository at this point in the history
ci: replace generated headers by templates
  • Loading branch information
sergiud authored Oct 12, 2021
2 parents 56d3fac + 06e6651 commit ce35336
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/linux-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
'*/src/mock-log.h' \
'/usr/*' \
--output-file coverage.info
for file in src/glog/*.h.in; do
name=$(basename ${file})
name_we=${name%.h.in}
sed -i "s|build_${{matrix.build_type}}/glog/${name_we}.h\$|${file}|g" coverage.info
done
lcov --list coverage.info
- name: Upload Coverage to Coveralls
Expand Down

0 comments on commit ce35336

Please sign in to comment.