circuitpython-build-tools icon indicating copy to clipboard operation
circuitpython-build-tools copied to clipboard

Add tests for circuitpython-build-bundles

Open Neradoc opened this issue 3 years ago • 3 comments

Add tests to the PR build workflow in order to catch errors and malformed bundles.

Neradoc avatar Jun 20 '22 17:06 Neradoc

There's currently a "test" in Actions, but it only checks that the build process exits with a zero status. However, due to some recent issues it appears that we need to check something about the actual content of the .mpy files that are generated.

jepler avatar Jun 27 '22 14:06 jepler

@FoamyGuy do you have any interest in grabbing this?

jepler avatar Nov 27 '24 23:11 jepler

I'll add this to my list to look into. It's got a few things ahead of it so it may be a little bit.

@jepler or @Neradoc do either you have an idea in mind for what kind of validation we'd want to do on the mpy file? The only that come to mind for me are check that the size isn't 0, and maybe try importing it under the unix port though I don't know if that will be possible for every library.

FoamyGuy avatar Dec 02 '24 17:12 FoamyGuy