Skip to content

Commit

Permalink
Run coverage report script in CI (#570)
Browse files Browse the repository at this point in the history
Extend the Continuous Integration script to perform the
TOOLCHAIN=coverage builds, run unit tests and create the resulting
coverage report.
  • Loading branch information
emaxx-google committed May 16, 2022
1 parent eb0cbf6 commit 431e22a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ jobs:
source env/activate &&
source env/python2_venv/bin/activate &&
TOOLCHAIN=pnacl make
# When building for coverage, explicitly tell Clang to use the right include
# path, because Clang's heuristics often fail to deduce it automatically.
- name: Build coverage report
env:
CPLUS_INCLUDE_PATH: /usr/i686-linux-gnu/include/c++/${COVERAGE_LIBSTDCPP_VERSION}/i686-linux-gnu/
run:
./coverage-report.sh

0 comments on commit 431e22a

Please sign in to comment.