Open AdrianDeWinter opened 6 days ago
You dont have to worry about annoying me, I'm happy to discuss whatever. This sounds pretty promising. Do you know your way round GitHub actions then? I managed to set up one to zip up the build for each commit, but getting one to do it right for releases has evaded me.
Alright :) Not with GitHub Actions, but I work with GitLab CI/CD every day. Same thing, similar syntax, different name.
I took a look at the actions you have defined, and tried them on my fork.
The simple_bk
and simple_release
(the one with you customized version of blender-addon-release
) both ran successfully, the latter one also successfully created a draft release (although GitHubs of UX of finding that draft later on is terrible).
The simple_build_and_release
is missing it's triggers.
Looking at the resulting .zip's and comparing them to the actual releases here, it seems the structure is wildly different, and what is and isn't included also differs. Should I consider the current releases as the golden sample and get the GH Actions to build the same thing?
Regarding the tests, would you prefer to have simple scripts you can run manually inside of blender, or the full testing suite? Having pytest available via the latter option does simplify testing significantly, and get's us code coverage too (and can be automated via GH Actions :) )
the zips that the simple_bk that runs on every commit builds are right. I had all kinds of trouble getting the release one to build one the same, was buggering it up every time, gave up and have just been doing it manually copying the last commit one.
Alright, I'll take a crack at it on the weekend
I thought having a proper issue for this might be better than to keep annoying Sim in discord.
I took a look at building up a proper testing toolchain, and from what I see, there a couple of potential goals for this:
And two rather different environments to do this in:
I'll open a Proof-of-concept PR and link it to this Issue.