-
Notifications
You must be signed in to change notification settings - Fork 9
Create codecov.yml for coverage testing (Do not merge) #86
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
Conversation
Warning! No news item is found for this PR. If this is an user facing change/feature/fix, |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
==========================================
+ Coverage 0.00% 93.38% +93.38%
==========================================
Files 9 6 -3
Lines 240 136 -104
==========================================
+ Hits 0 127 +127
+ Misses 240 9 -231 ☔ View full report in Codecov by Sentry. |
Well this is not good (still having 0%). We might have to look into .coveragerc and codecov.yml |
This is for testing to initiate GitHub Actions. I think I've figured out the problem. |
@Tieqiong We shall use pytest-cov instead of using coverage to run pytest. The previous error occurred because the tests folder has been moved to the top directory level and coverage isn't able to import diffpy.snmf due to the namespace. |
Closing this PR since the new workflow indeeds works for |
Addressing #85