Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74703

Improve Analytics python packaging and testing time

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Future Dev
    • None
    • Analytics, Libraries
    • None

    Description

      Currently we have a process ref. testing and packaging python packages related to analytics that can take several hours and maybe up to a few days worth of processing.

      1. Setup the basic phpunit / behat test - it takes a while but it is manageable
      2. Setup the sample database to test the "admin/tool/analytics/cli/evaluate_model.php" - this is the most time consuming (several hours, the database is about 3Gb)
      3. This needs also to be run on the docker image once build
      4. And then on the stable/current Moodle version (at least 3)

      Currently this is partially automatised but would need maybe some specific script to make it less manual intensive:

      • Help with the setup (with pew, so we can setup a clean virtual env)
      • Automatically upload the sample database and run it in the background

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            laurent.david@moodle.com Laurent David
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: