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

Automated code coverage #108

Open
RobertPincus opened this issue Apr 9, 2021 · 1 comment
Open

Automated code coverage #108

RobertPincus opened this issue Apr 9, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@RobertPincus
Copy link
Member

The repository includes some examples/ and a few tests/ exercising various options in the code. These are cobbled together into a makeshift continuous integration that ensures changes to the code don't change the answers (unless the point of reference is also changed).

It would be terrific to add automated code coverage to the continuous integration so we know how much of the code is being exercised, and so new code is always paired with new tests. We are signed up with codecov.io but I have not been able to figure out how to produce the .xml or .json files needed with the Intel compiler (see branch feature-code-coverage), nor have I been able to figure out how to manage coverage using the gnu toolchain when source code and executables are scattered across directories.

We'd welcome help or a PR that showed us how to generate code coverage reports during continuous integration.

@RobertPincus
Copy link
Member Author

Note that the current tests leave many routines and blocks uncovered (see #62).

@RobertPincus RobertPincus added the help wanted Extra attention is needed label Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant