celerity / celerity-runtime

High-level C++ for Accelerator Clusters
https://celerity.github.io
MIT License
141 stars 18 forks source link

Report code coverage via coveralls.io #240

Closed fknorr closed 8 months ago

fknorr commented 8 months ago

This PR

  1. Instruments the simsycl-debug CI build with GCC's --coverage flag to export coverage data (one .gcno file for every .o file)
  2. Runs unit tests and system tests (generating one .gcda file with counters per .gcno file)
  3. Aggregates the .gcda files using fastcov into an LCOV info file
  4. Uploads the info file to coveralls.io to generate statistics and a coverage badge (which is now in the README).

Note that the coverage badge still says "unknown" because it reports the master branch, so the badge will be correct after the merge.

github-actions[bot] commented 8 months ago

Check-perf-impact results: (4c65f1399a47e0eb1340f63004745b17)

:question: No new benchmark data submitted. :question:
Please re-run the microbenchmarks and include the results if your commit could potentially affect performance.