agerada / AIgarMIC

AIgarMIC – machine-learning assisted agar dilution software
GNU General Public License v3.0
2 stars 2 forks source link

Adding CI/CD *with* assets #13

Closed gchure closed 1 month ago

gchure commented 1 month ago

Hi @agerada,

I sniped myself over the weekend thinking about running tests for AIgarMIC, including the assets and came up with a solution that seems to work. Rather than committing the ~1GB of material to the repo, I adapted a gh-actions script that pulls the assets, unzips them, and runs all of the tests (which are currently passing). This currently takes ≈ 6 minutes to run and pass and is currently configured to run on every push to main. If desired, you could run it less frequently, but it may be wise to have it on every push to catch breaking changes.

Feel free to merge this in or reject. I didn't clear it with you ahead of time, so sorry if this steps on your toes!

agerada commented 1 month ago

Hi @gchure, absolutely no need to apologise. This solution is just perfect, very happy to go with this approach. The 6 minute time shouldn't be an issue as we shouldn't be pushing to main too often, and having these tests is very reassuring.

Thank you for coming up with a solution and even implementing it!