From a354b03633609e15108a60cba58aad832a164c0f Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 22 Feb 2021 04:06:58 -0500 Subject: [PATCH] CI: Leave log level at INFO for frontend tests --- .github/workflows/frontend-admin-tests.yml | 4 ++-- .github/workflows/frontend-tests.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/frontend-admin-tests.yml b/.github/workflows/frontend-admin-tests.yml index 8a61b2243..f2e2215aa 100644 --- a/.github/workflows/frontend-admin-tests.yml +++ b/.github/workflows/frontend-admin-tests.yml @@ -50,8 +50,8 @@ jobs: id: environment run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})" - - name: Write custom settings.json with loglevel WARN - run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json" + - name: Create settings.json + run: cp settings.json.template settings.json - name: Write custom settings.json that enables the Admin UI tests run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json" diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 99d7bd0fa..c5c99bd7b 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -28,8 +28,8 @@ jobs: id: environment run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})" - - name: Write custom settings.json with loglevel WARN - run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json" + - name: Create settings.json + run: cp settings.json.template settings.json - uses: saucelabs/sauce-connect-action@v1.1.2 with: @@ -99,8 +99,8 @@ jobs: id: environment run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})" - - name: Write custom settings.json with loglevel WARN - run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json" + - name: Create settings.json + run: cp settings.json.template settings.json - name: Write custom settings.json that enables the Admin UI tests run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"