moodlehq / moodle-docker

A docker environment for moodle developers
GNU General Public License v3.0
373 stars 244 forks source link

Faildump mapping #196

Closed aspark21 closed 2 years ago

aspark21 commented 2 years ago

I know there's the web browser approach to loading the faildumps but we're using moodle-docker within our CI pipeline so looking to retrieve the files in bulk without opening a browser. Just another option. Found an old commit from Andrew that had started this and updated this to align with the path which has since been defined for faildumps.

Tested in our pipeline and works well.

Github Actions will have the usual failures because #195 not yet in but this passes here - https://github.com/aspark21/moodle-docker/commits/merge-them-all / https://github.com/aspark21/moodle-docker/actions/runs/1535306113 - where I've merged 195, this and the mysql8 change(171) into one branch.

aspark21 commented 2 years ago

re-based on master now that #195 integrated so all tests are passing 😄

I believe I've addressed all of your comments @scara

This has dual benefit of allowing access to faildumps but also to use a timing file when running test suites - https://github.com/moodlehq/moodle-docker/issues/84#issuecomment-991993273 (that might warrant some documentation / tweak to config.docker-template.php in a separate pull request)

stronk7 commented 2 years ago

Here we go, thanks @aspark21 ! 😎