moodle-mod_customcert icon indicating copy to clipboard operation
moodle-mod_customcert copied to clipboard

Create catalyst-ci

Open fulldecent opened this issue 6 months ago • 2 comments

This PR tries to implement a best practice documented here https://github.com/fulldecent/moodle-local_plugin_template/blob/main/.github/workflows/ci.yml


We would like to automatically test this plug-in every month by automatically looking for the latest stable version of Moodle.

This will allow us to achieve 4.5, 5.0 and 5.1 compatibility, possibly in our sleep.


Personally, I think the Moodle maintainer leadership is derelict in making this so difficult for our plug-in here and the millions of other plug-ins to stay up-to-date. So I think best practice today is to use a level of indirection like I am showing in this PR and I'm documenting in our best practices repo.

fulldecent avatar May 27 '25 15:05 fulldecent

Sorry, I don't see the point of this .. if you look it just tested 404 stable. I don't understand how it will automatically do it for all versions. :)

mdjnelson avatar Jun 23 '25 19:06 mdjnelson

Okay, I see their documentation here:

https://github.com/catalyst/catalyst-moodle-workflows?tab=readme-ov-file#rocket-quick-start


This CI script will test our 404 branch against 404 Moodle.

And the same CI script will test our 405 branch against 405 Moodle.

And if our develop branch has a target version of like "999" or something then it will also test that against the main version upstream.


Using our develop version with that version "to 999" might be a good way to automatically test against new versions upstream as they are being released. And then when we release 501 or whatever then we would branch off and support that specific version.

fulldecent avatar Jun 24 '25 10:06 fulldecent