-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add notebook smoke tests, QOL changes, part 2 #39
Conversation
@ziatdinovmax looks like these jobs just failed with no error messages... Doesn't even look like they ran. 😁 |
@ziatdinovmax Pretty sure I found the bug. I just did something really silly in the workflow files. |
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## main #39 +/- ##
==========================================
- Coverage 95.60% 95.57% -0.04%
==========================================
Files 39 39
Lines 3072 3072
==========================================
- Hits 2937 2936 -1
- Misses 135 136 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Looks like the notebook tests are failing. |
@ziatdinovmax Yeah I think it's because I missed two notebook-specific dependencies. That's fixed now. Question is whether or not this will work anyway. I do think notebooks should have smoke tests, but if this doesn't work I'll revert the smoke tests pieces and experiment elsewhere 😁. Once I get it right I can just open another PR. |
@matthewcarbone For some reason, I can't run the osx workflows. Given that JAX support on the Apple M series is still limited and buggy, I'm not sure how helpful they are anyway. Maybe you can remove them for now? |
@ziatdinovmax yeah sure I can remove them. OSX is more expensive than Linux resource-wise, though it's odd it's been 13 hours... Will remove them but definitely consider putting them back in the future. Note I don't believe that OSX latest == M1. Stay tuned. |
@ziatdinovmax start of the new FY so I'll probably start working on this a bit more! How strict are you regarding the code coverage differences? I didn't actually change any code, I just put some new lines in for clarity 😁 |
I wouldn't worry about the slight decrease in the code coverage due to basic formatting. |
Same as #38 but I actually remembered to pull from upstream first:
Just playing around/exploring the code a bit. While I was I figured I'd make a few QOL changes to the testing system:
ipython -c "%run simpleGP.ipynb"
, for example.osx-latest
to theruns-on
in the testing jobs. Since the project is open source your CI hours are free so it doesn't matter that it's a more expensive OS to test on..flake8
andpyproject.toml
files for running black (with line length 127).black
ongpax.models.gp
as a test (feel free to tell me you don't like this and I'll revert, but stylistically I think it's much easier to read!).(there will no doubt be bugs which I will fix 👍)