-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve CI workflows, add autoformatters / linters #236
Conversation
Okay @cmgosnell whenever you have a chance to look, this seems to work as well as it can given the current state of the |
@katie-lamb I updated the CI and package requirements to only ever use Python 3.10 (and to use the new bot automerge PR workflows) so hopefully your 3.8/3.9 dependency resolution issues can be ignored. |
For more information, see https://pre-commit.ci
…ferc1-eia into bot-auto-merge
Switch to bot-auto-merge workflow and auto-format YAML.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
What's the max memory usage of the tests at this point? Is it close to 7GB? I imagine the runner uses some memory on its own just to exist and have an OS, and even if the tests themselves were a bit under 7GB, the sum of the overhead and the tests could still be too much. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #236 +/- ##
=======================================
Coverage ? 74.39%
=======================================
Files ? 10
Lines ? 1183
Branches ? 0
=======================================
Hits ? 880
Misses ? 303
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Update update update (for @cmgosnell): The CI now passes wowww! Major changes:
I'm not entirely sure why one of the data validation tests isn't passing. It seems like a weird type error because I'm pretty sure the expected and actual data is the same. Need to look into this. |
I feel confused why the validation tests are failing when checking if the index are equal. It seems to be an issue with the type of the |
test/integration/rmi_out_test.py
Outdated
], | ||
level=levels_set_types, | ||
) | ||
) |
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.
This whole index level data type setting business is super janky but it fixes the weird one off error I was getting with the type mismatch. Maybe I should look into a more general/lasting solution here.
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.
yeah this looks janky/hard to understand what is happening.. if you are going to keep it i'd suggest at the least adding some why/what comments in here
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.
hey @katie-lamb ! these changes looks good overall but added a smattering of suggestions/questions.
test/integration/rmi_out_test.py
Outdated
], | ||
level=levels_set_types, | ||
) | ||
) |
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.
yeah this looks janky/hard to understand what is happening.. if you are going to keep it i'd suggest at the least adding some why/what comments in here
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.
this looks great!
No description provided.