lunarmodules / busted

Elegant Lua unit testing.
https://lunarmodules.github.io/busted/
MIT License
1.39k stars 184 forks source link

Update CI and and related documentation #689

Closed alerque closed 2 years ago

alerque commented 2 years ago

Use as a GH Action (similar to what we did with Luarocks) isn't quite working yet, I have to finish sweet talking that little Alpine Linux container where everything is, but I have to run off to something else for a bit so dropping it here in draft mode for now.

alerque commented 2 years ago

I'm going to (at least temporarily) throw in the towel on setting up a GH Action for this. In particular that shouldn't hold up the next release. I have gotten it to work several ways that work for various situations, but each way has major cons. The containerized way I used for Luarocks does not work well here because Busted doesn't just need it's own dependencies but all the dependencies of every project it has to run on. That means dependency injection into the container and that's a mess.

I'll break out the related work out of this PR and we can look into other implementation methods that might be more generally useful to end users.

Tieske commented 2 years ago

The merge after approval now leaves the CI in a failed state. Some build jobs should probably not run? @alerque

alerque commented 2 years ago

I'll look into it. Something similar happened on say, starting there...