Instructions for running in CI#124
Conversation
|
@MusicalNinjaDad Thanks a lot. I will have a look this weekend! |
|
No problem. In a few days |
|
@MusicalNinjaDad Thanks a lot. I reworded the section and adapted it closer to my style. As for the startup scripts: I am not sure they are all that relevant, TBH, but I left a note in. Re you tool: happy to include a link to it once, you're happy with its state, both in the new CI section and related packages. I would probably still keep the current section, as I like to explain how things work. What do you think? |
|
@chmp - that is a lot easier to understand! I've suggested two minor / nit-picky adjustments... Looks good to go to me. And yes, I'll drop you a note once I'm happier with the plugin (and will use your suggested |
|
Perfect. Love it. Thanks a lot. I noticed since the last release, poetry changed quite a bit so that the current package does no longer build correctly. I will merge in a temporary branch and fix uv there before merging both changes. |
|
I never befriended myself with
|
|
@chmp - I've got my plugin MusicalNinjaDad/pytest-ipynb2 to a point where I'm happy with the overall shape. There are still a few gaps but I'd be really interested in your opinion... |
|
IPython's excution model is quite complex and I could imagine that your collection of cells and then using Therefore, I am skeptical of any option that is not using a proper kernel. But once you are running a full kernel you start to reimplement That said: if it works for you and you see added value, I am happy to include it in the |
As per our conversation in #123 - here is a quick overview of how to get ipytest running in CI. It turned out to be a little more involved than a simple one-liner.
Feel free to suggest, or directly make, any adjustments to the style or content. (I've granted you rights on the fork)
I hope to be able to offer a simpler approach soon with a pytest plugin (MusicalNinjaDad/pytest-ipynb2) which would collect and run any ipytest cells alongside other tests. I'll let you know how I get on...