-
Notifications
You must be signed in to change notification settings - Fork 4
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
Switch to src layout #271
Switch to src layout #271
Conversation
13391ae
to
7475f10
Compare
7475f10
to
84abd05
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #271 +/- ##
==========================================
+ Coverage 63.84% 72.81% +8.96%
==========================================
Files 35 18 -17
Lines 2597 982 -1615
==========================================
- Hits 1658 715 -943
+ Misses 939 267 -672 ☔ View full report in Codecov by Sentry. |
Wouldn't the actual
For example , running |
@abhaasgoyal I think you might be confusing the benchcab source with bench_example. The src directory you mentioned is only generated when running benchcab and will not contain the benchcab source files. |
Oh yeah, my mistake.. Looks good to me! (I ran the integration tests as well) |
I've noticed the code coverage reports seem to differ when I have hardly changed the source code or the unit tests. Looking into this now. |
7ff16c2
to
f30cc2a
Compare
@abhaasgoyal I've made some new changes regarding the unit test coverage reports as coverage reports do not seem to be properly generated unless we run pytest against an editable install of benchcab. I've also restricted the coverage to measure only the source files under the Also please hit approve once you are happy with the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ddcf564
to
647cbe7
Compare
647cbe7
to
59910ed
Compare
Currently we are not testing the installed version of the package in our CI workflow. This is one of the major disadvantages in using a flat layout. This change switches the source code to use a src layout and reproduces the error described in #267 (see logs).
This pull request should be merged once #272 is merged so that we can verify the CI passes.
Fixes #270