Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage #2

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Coverage #2

wants to merge 28 commits into from

Conversation

HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Mar 12, 2020

Initialize coverage metrics and also update the CI to run all branches.

@HaoZeke HaoZeke added the enhancement New feature or request label Mar 12, 2020
@HaoZeke HaoZeke linked an issue Mar 12, 2020 that may be closed by this pull request
@HaoZeke HaoZeke requested a review from amritagos March 12, 2020 03:22
@HaoZeke HaoZeke added this to the Quality Management milestone Mar 12, 2020
Copy link
Member

@amritagos amritagos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comments and update the PR.
Thanks for this!

.travis.yml Outdated Show resolved Hide resolved
Comment on lines +236 to +237
set(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
set(CMAKE_C_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this should be only set for the Debug builds?

Comment on lines -5 to +6
"rev": "ae002fe44e96b868c62581e8066d559ca2179e01",
"sha256": "1bawyz3ksw2sihv6vsgbvhdm4kn63xrrj5bavg6mz5mxml9rji89"
"rev": "8130f3c1c2bb0e533b5e150c39911d6e61dcecc2",
"sha256": "154nrhmm3dk5kmga2w5f7a2l6j79dvizrg4wzbrcwlbvdvapdgkb"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change and should be documented a bit more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I'll update the PR description. Though the changes shouldn't affect general users much. A good practice is running nix-collect-garbage whenever the nix versions are updated.

@HaoZeke HaoZeke self-assigned this Mar 12, 2020
Co-Authored-By: Amrita Goswami <[email protected]>
@codecov
Copy link

codecov bot commented Mar 12, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@570f134). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   60.86%           
=========================================
  Files             ?        7           
  Lines             ?      920           
  Branches          ?        0           
=========================================
  Hits              ?      560           
  Misses            ?      360           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 570f134...2057841. Read the comment docs.

@d-SEAMS d-SEAMS deleted a comment from amritagos Mar 12, 2020
@HaoZeke HaoZeke force-pushed the master branch 2 times, most recently from d9d9add to fd1651f Compare March 17, 2021 22:43
@HaoZeke HaoZeke force-pushed the main branch 8 times, most recently from 8239a8b to 3665a68 Compare March 20, 2022 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add coverage metrics
2 participants