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

Create coverage reports; resolve #58. #59

Closed
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@ruebot
Member

ruebot commented Sep 5, 2018

GitHub issue(s): #58

What does this Pull Request do?

  • Update Makefile to produce coverage notes
  • Update TravisCI config use gcov to generate report from notes
  • Update gitignore for new files

How should this be tested?

TravisCI should pass, and CodeCov should be triggered.

Additional Notes:

I'm not 100% happy with all the files that are generated in the root. I'd like to make this better, but first I want to see if this works with CodeCov.

Create coverage reports; resolve #58.
- Update Makefile to produce coverage notes
- Update TravisCI config use gcov to generate report from notes
- Update gitignore for new files
@codecov

This comment has been minimized.

Show comment
Hide comment
@codecov

codecov bot Sep 5, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #59   +/-   ##
=========================================
  Coverage          ?   50.13%           
=========================================
  Files             ?        9           
  Lines             ?     1099           
  Branches          ?        0           
=========================================
  Hits              ?      551           
  Misses            ?      548           
  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 b1f8eec...b8c4462. Read the comment docs.

codecov bot commented Sep 5, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #59   +/-   ##
=========================================
  Coverage          ?   50.13%           
=========================================
  Files             ?        9           
  Lines             ?     1099           
  Branches          ?        0           
=========================================
  Hits              ?      551           
  Misses            ?      548           
  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 b1f8eec...b8c4462. Read the comment docs.

@ruebot

This comment has been minimized.

Show comment
Hide comment
@ruebot

ruebot Sep 5, 2018

Member

Hey! There we go.

So, we need to decide if we're ok with all the files that are generated in the root when make is run. The extensions are added to .gitignore.

Before:

[nruest@wombat:graphpass] (git)-[issue-58]-$ ls
CODE_OF_CONDUCT.md  CONTRIBUTING.md  doc  Doxyfile  LICENSE.txt  Makefile  README.md  src  vendor

After:

[nruest@wombat:graphpass] (git)-[issue-58]-$ ls
analyze.gcda  CODE_OF_CONDUCT.md  doc       filter.gcda  gexf.gcda  graphpass       graphpass.gcno  io.gcno      Makefile  quickrun.gcda  README.md     reports.gcno  rnd.gcno  vendor    viz.gcno
analyze.gcno  CONTRIBUTING.md     Doxyfile  filter.gcno  gexf.gcno  graphpass.gcda  io.gcda         LICENSE.txt  OUT       quickrun.gcno  reports.gcda  rnd.gcda      src       viz.gcda
Member

ruebot commented Sep 5, 2018

Hey! There we go.

So, we need to decide if we're ok with all the files that are generated in the root when make is run. The extensions are added to .gitignore.

Before:

[nruest@wombat:graphpass] (git)-[issue-58]-$ ls
CODE_OF_CONDUCT.md  CONTRIBUTING.md  doc  Doxyfile  LICENSE.txt  Makefile  README.md  src  vendor

After:

[nruest@wombat:graphpass] (git)-[issue-58]-$ ls
analyze.gcda  CODE_OF_CONDUCT.md  doc       filter.gcda  gexf.gcda  graphpass       graphpass.gcno  io.gcno      Makefile  quickrun.gcda  README.md     reports.gcno  rnd.gcno  vendor    viz.gcno
analyze.gcno  CONTRIBUTING.md     Doxyfile  filter.gcno  gexf.gcno  graphpass.gcda  io.gcda         LICENSE.txt  OUT       quickrun.gcno  reports.gcda  rnd.gcda      src       viz.gcda
@greebie

This comment has been minimized.

Show comment
Hide comment
@greebie

greebie Sep 5, 2018

Collaborator

This is amazing! Thank you so much. If codecov uses gcov, I think its possible to put the gcdas in a different folder using -fprofile-dir {DIRECTORY}. Not sure if that can work for codecov though.

(reference:here)

Collaborator

greebie commented Sep 5, 2018

This is amazing! Thank you so much. If codecov uses gcov, I think its possible to put the gcdas in a different folder using -fprofile-dir {DIRECTORY}. Not sure if that can work for codecov though.

(reference:here)

@ruebot

This comment has been minimized.

Show comment
Hide comment
@ruebot

ruebot Sep 5, 2018

Member

We'd still have the gcno files, which gcov needs.

Member

ruebot commented Sep 5, 2018

We'd still have the gcno files, which gcov needs.

ruebot and others added some commits Sep 5, 2018

@greebie

This comment has been minimized.

Show comment
Hide comment
@greebie

greebie Sep 6, 2018

Collaborator

Just added the extra files for removal using make clean.

Not sure if cleaning helps with codecov, but at least someone can run it if they do not like the extra files.

Collaborator

greebie commented Sep 6, 2018

Just added the extra files for removal using make clean.

Not sure if cleaning helps with codecov, but at least someone can run it if they do not like the extra files.

@greebie

This comment has been minimized.

Show comment
Hide comment
@greebie

greebie Sep 6, 2018

Collaborator

Do we need to merge this to see the proper reports? Did you want a merge to check? Based on what I see so far, we should be okay to do that. Neither Ian nor I care too much about the extra files and now that we have a clean, it should be fine.

Collaborator

greebie commented Sep 6, 2018

Do we need to merge this to see the proper reports? Did you want a merge to check? Based on what I see so far, we should be okay to do that. Neither Ian nor I care too much about the extra files and now that we have a clean, it should be fine.

@ruebot

This comment has been minimized.

Show comment
Hide comment
@ruebot

ruebot Sep 6, 2018

Member

Please don't push to a pull request I'm working on.

Member

ruebot commented Sep 6, 2018

Please don't push to a pull request I'm working on.

@ruebot ruebot closed this Sep 6, 2018

@ruebot ruebot deleted the ruebot:issue-58 branch Sep 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment