Add gcovr to tox config
See original GitHub issueWe 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:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a branch printing coverage results, and making coverage non-default for local
tox
runs, but I ran into an issue withtox-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, buttox-gh-actions
only runs environments defined inenvlist
.@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.