question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add gcovr to tox config

See original GitHub issue

We could add gcovr back to show the coverage results when running tox locally.

I also think Python/C++ coverage should be optional when running locally through a -coverage suffix to the tox env, but that can be a different PR.

_Originally posted by @garmin-mjames in https://github.com/cocotb/cocotb/issues/2155#issuecomment-729886895_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
marlonjamescommented, Nov 23, 2020

I have a branch printing coverage results, and making coverage non-default for local tox runs, but I ran into an issue with tox-gh-actions https://github.com/ymyzk/tox-gh-actions/issues/44.

I didn’t want the *-coverage builds to be part of the default run, but tox-gh-actions only runs environments defined in envlist.

0reactions
marlonjamescommented, Nov 24, 2020

@ktbarrett on my PC I saw basically no difference in runtime.

If the coverage print-outs are added, then that will be what you see after running tox instead of the regression results currently shown.

Another option is to just not print out the coverage results and leave that to the user. The results are saved outside of the tox run.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gcovr User Guide — gcovr 5.0 documentation
First the config file is parsed, if any. Then, all command line arguments are added. Finally, if an option was specified neither in...
Read more >
Test coverage visualization - GitLab Docs
With the help of GitLab CI/CD, you can collect the test coverage information of your favorite testing or coverage-analysis tool, and visualize this ......
Read more >
Package List — Spack 0.20.0.dev0 documentation
aomp, pango, py-tox. apachetop, pangolin, py-tpot ... h5utils, py-gcovr, r-rpostgres ... configure options (there's a few newly added since v0.11) ...
Read more >
How can I add custom dependencies to Click packages
You'll need tox (Ubuntu package python-tox) installed in order to run the full ... To get Vala/C coverage information, install the gcovr and...
Read more >
Cygwin Package List
base-files, A set of important system configuration and setup files ... gcovr, Manages the compilation of coverage information from gcov.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found