From 34f513f6f7b5048df959612fdbfc59eecbff2516 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 5 Sep 2023 10:19:09 +0200 Subject: [PATCH] MOBILE-4362 performance: Fix workflow --- .github/workflows/performance.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 4c2b2085383..ce6475d277f 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -28,13 +28,13 @@ jobs: run: | export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle cp $GITHUB_WORKSPACE/moodle-docker/config.docker-template.php $GITHUB_WORKSPACE/moodle/config.php - sed -i "59i\ 'capabilities' => [" $GITHUB_WORKSPACE/moodle/config.php - sed -i "60i\ 'extra_capabilities' => [" $GITHUB_WORKSPACE/moodle/config.php - sed -i "61i\ 'goog:loggingPrefs' => ['performance' => 'ALL']," $GITHUB_WORKSPACE/moodle/config.php - sed -i "62i\ 'chromeOptions' => ['perfLoggingPrefs' => ['traceCategories' => 'devtools.timeline']]," $GITHUB_WORKSPACE/moodle/config.php - sed -i "63i\ ]," $GITHUB_WORKSPACE/moodle/config.php - sed -i "64i\ ]," $GITHUB_WORKSPACE/moodle/config.php - sed -i "76i\$CFG->behat_ionic_wwwroot = 'http://moodleapp';" $GITHUB_WORKSPACE/moodle/config.php + sed -i "67i\ 'capabilities' => [" $GITHUB_WORKSPACE/moodle/config.php + sed -i "68i\ 'extra_capabilities' => [" $GITHUB_WORKSPACE/moodle/config.php + sed -i "69i\ 'goog:loggingPrefs' => ['performance' => 'ALL']," $GITHUB_WORKSPACE/moodle/config.php + sed -i "70i\ 'chromeOptions' => ['perfLoggingPrefs' => ['traceCategories' => 'devtools.timeline']]," $GITHUB_WORKSPACE/moodle/config.php + sed -i "71i\ ]," $GITHUB_WORKSPACE/moodle/config.php + sed -i "72i\ ]," $GITHUB_WORKSPACE/moodle/config.php + sed -i "84i\$CFG->behat_ionic_wwwroot = 'http://moodleapp';" $GITHUB_WORKSPACE/moodle/config.php $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose pull $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose up -d $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-wait-for-db