Skip to content
Snippets Groups Projects
  1. Feb 15, 2021
    • Harmen Stoppels's avatar
      Fixes for codecov (#1370) · 89fda19d
      Harmen Stoppels authored
      - remove repeated CMAKE_BUILD_TYPE
      - bump lcov to 1.15
      - use new --exclude flag to skip generated sources
      
      With gcc 8 as a compiler + a new version of lcov (#1350) codecov started tracking generated source files and coverage dropped to < 60%. Not sure if this is a bug in lcov or not. I've added these new flags for lcov: `--exclude "*/ext/*" --exclude "*/test/*" --exclude "*/mechanisms/*"` to fix it.
  2. May 26, 2020
    • Harmen Stoppels's avatar
      Add codecov reports as part of CI (#1020) · 68133f73
      Harmen Stoppels authored
      This is a bit experimental. It builds arbor with `-fprofile-arcs -ftest-coverage` and creates a docker image with just the project binaries, lcov, gcov and generated `.gcno` files. This should still be reasonably small since there are no object files etc. When run on daint, `.gcna` files are produced (should be thread / process safe according to gcc's manual) inside of the container, and `lcov` is used to combine all those things into a single file with a random name in the mounted git project folder (hopefully this solves clashes with multiple nodes). After all tests are run, the combined reports are uploaded to codecov.io.