-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update infrastructure files to include emicorr #8137
Conversation
To check that I understand these changes. Prior to this PR
__all__ and the output of get_steps . Is this correct?
|
You are correct, sir. Without this change, executing "strun emicorr ..." results in "ValueError: 'emicorr' is not a path to a config file or a Python Step class". With this change, it runs just fine. |
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!
Is it worth looking into adding a test to catch this type of omission for future step additions? Perhaps iterating through Step
and Pipeline
subclasses checking that all are registered?
Good question. We seem to have run into this issue twice in the past 1-2 weeks when brand new steps got merged. The CI tests did not reveal any failures (not sure why). It's not until we run a full regtest that suddenly we see 1 or 2 unit tests failing, because of the missing suffix or step name in tests like this. I would've thought that the unit tests would get run by at least some of the CI's. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8137 +/- ##
=======================================
Coverage 75.24% 75.24%
=======================================
Files 470 470
Lines 38420 38421 +1
=======================================
+ Hits 28908 28909 +1
Misses 9512 9512
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 when build CI passes
I think this should be good to merge now, the ARM64 builds are just taking a while but I assume they will pass |
This PR adds entries for the new emicorr step to a couple of infrastructure files, in order to get unit tests to pass everywhere.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR