Panopto / moodle-mod_panoptocourseembed

This repo is the production version of the Moodle Panopto Course Embed tool. This tool will allow users to directly embed Panopto content into course view pages.
0 stars 0 forks source link

consider adding github actions support (it's free and very useful) #5

Open danmarsden opened 2 weeks ago

danmarsden commented 2 weeks ago

It might not catch the error I spotted in #4 as that's a core Moodle unit test that fails when your plugin is installed, but it will pick up a number of other potential issues.

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.

zeroAps commented 6 days ago

Thanks @danmarsden. I have created internal item 6633 to add github actions.