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

code coverage setup - codecov.io #962

Merged
merged 7 commits into from
Feb 5, 2021
Merged

code coverage setup - codecov.io #962

merged 7 commits into from
Feb 5, 2021

Conversation

alexsavulescu
Copy link
Member

Covering C++ and Python

@alexsavulescu alexsavulescu requested review from nrnhines, pramodk and ohm314 and removed request for nrnhines February 5, 2021 10:56
@alexsavulescu
Copy link
Member Author

Report here: https://codecov.io/gh/neuronsimulator/nrn/tree/54fdb229de986666e2ac3c0c2d9615c420677ecd
We're not doing that well :)

Copy link
Member

@pramodk pramodk left a comment

Choose a reason for hiding this comment

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

LGTM

@alexsavulescu
Copy link
Member Author

Just FYI I couldn't use pytest-cov for all our python tests because for some of them we are passing extra arguments. Will address that in future PRs (I also plan on working a bit more on testing)

Copy link
Member

@ohm314 ohm314 left a comment

Choose a reason for hiding this comment

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

Nice addition! I just have a few minor issues...

.github/workflows/coverage.yml Outdated Show resolved Hide resolved
.github/workflows/coverage.yml Outdated Show resolved Hide resolved
.github/workflows/coverage.yml Show resolved Hide resolved
.github/workflows/coverage.yml Show resolved Hide resolved
@ramcdougal
Copy link
Member

If you click on e.g. psection.py from https://codecov.io/gh/neuronsimulator/nrn/tree/54fdb229de986666e2ac3c0c2d9615c420677ecd/share/lib/python/neuron, you'll get an error message about needing to configure relative paths.

@alexsavulescu
Copy link
Member Author

@pramodk
Copy link
Member

pramodk commented Feb 5, 2021

Anyway, we need to have a build for master as starting base. We can check it out after we merge.

We saw similar thing for coreneuron. I think after merge when we will have new report, it should be ok.

.github/workflows/coverage.yml Show resolved Hide resolved
.github/workflows/coverage.yml Show resolved Hide resolved
.github/workflows/coverage.yml Outdated Show resolved Hide resolved
@ohm314
Copy link
Member

ohm314 commented Feb 5, 2021

Anyway, we need to have a build for master as starting base. We can check it out after we merge.

We saw similar thing for coreneuron. I think after merge when we will have new report, it should be ok.

yes, both in nmodl and coreneuron. once it is merged after the CI runs elsewhere you start seeing them.

alexsavulescu and others added 2 commits February 5, 2021 20:03
Co-authored-by: Omar Awile <omar.awile@gmail.com>
Co-authored-by: Omar Awile <omar.awile@gmail.com>
@pramodk pramodk merged commit e82b3f5 into neuronsimulator:master Feb 5, 2021
@alexsavulescu alexsavulescu deleted the codecov-nrn branch February 5, 2021 21:38
alexsavulescu added a commit that referenced this pull request Apr 13, 2021
* Code coverage setup
* Update neuron-ci.yml
* Add codecov.io badge
alexsavulescu added a commit that referenced this pull request Apr 30, 2021
* Code coverage setup
* Update neuron-ci.yml
* Add codecov.io badge
@alexsavulescu alexsavulescu mentioned this pull request Mar 22, 2022
15 tasks
olupton pushed a commit that referenced this pull request Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants