Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider adding github actions support - it's free and very useful. #33

Open
danmarsden opened this issue Feb 23, 2024 · 3 comments
Open

Comments

@danmarsden
Copy link

Some of the tests run by the Moodle.org plugins db can be run via github actions on each commit in your github repo. Enabling this helps you to make sure future changes to your plugin will continue to follow the guidelines.

the short version - grab this file:
https://github.com/moodlehq/moodle-plugin-ci/blob/master/gha.dist.yml
rename it as ci.yml and put into the directory .github/workflows within tyour project eg:
https://github.com/danmarsden/moodle-mod_attendance/blob/MOODLE_311_STABLE/.github/workflows/ci.yml

then on every commit you make to github it will fire off a request to run the tests and will give you traffic lights beside each commit and generate a report.

@ADLMeganBohland
Copy link
Contributor

Thanks Dan, this is definitely a very interesting tool! I installed it and am working on getting it to run correctly, right now it says it has no triggers in "on".

@ADLMeganBohland
Copy link
Contributor

@danmarsden Hey Dan, Is there anything else I need to do for the plugin? If it's just a waiting game that's fine, but want to make sure there are no blockers. Thank you!!!

@danmarsden
Copy link
Author

just a waiting game sorry... the number of volunteers actively reviewing plugins is very small, and there's still a bit of a backlog but we're slowly clearing the longest waiting ones....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants