rabser / moodle-quiz_exportattemptscsv

A Quiz report for Moodle to export the attempts history as a CSV file
GNU General Public License v3.0
0 stars 2 forks source link

Consider adding github actions support - it's free and very useful. #8

Closed danmarsden closed 8 months ago

danmarsden commented 8 months ago

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.

rabser commented 8 months ago

I'm going to give it a try.

rabser commented 8 months ago

it works! ;-)