moodle-plugin-ci
moodle-plugin-ci copied to clipboard
include basic GDPR tests
It would be great if there was some basic GDPR compliance testing.
One can already add some lines to the .travis file to do the job:
script:
- /home/travis/build/moodle/vendor/bin/phpunit "provider_testcase" /home/travis/build/moodle/privacy/tests/provider_test.php
- /home/travis/build/moodle/vendor/bin/phpunit "tool_dataprivacy_expired_contexts_testcase" /home/travis/build/moodle/admin/tool/dataprivacy/tests/expired_contexts_test.php
But perhaps all gdpr related commands could be merged into moodle-plugin-ci gdpr
+1 to moodle-plugin-ci gdpr command.
Proof of concept submitted in https://github.com/ewallah/moodle-plugin-ci
Works in 3.7 - 3.8 - master: https://travis-ci.org/ewallah/moodle-plugin-ci/jobs/650857771#L455 Fails in 3.6 - 3.5 - 3.4 - https://travis-ci.org/ewallah/moodle-plugin-ci/jobs/650857773#L497 due to "Too many open files"
Someone has an idea how to raise the amount of open files in travis?