diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index c4773727f..284b65b78 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -26,10 +26,11 @@ jobs: id: environment run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})" - - name: Write custom settings.json with loglevel WARN and minify true - run: | - "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json" - # "sed -i 's/\"minify\": \"true\",/\"minify\": \"false\",/' settings.json" + - name: Write custom settings.json with loglevel WARN + run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json" + + - name: Set minify to false + run: "sed -i 's/\"minify\": \"true\",/\"minify\": \"false\",/' settings.json" - name: Run the frontend tests shell: bash @@ -87,10 +88,12 @@ jobs: id: environment run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})" - - name: Write custom settings.json with loglevel WARN and minify true + - name: Write custom settings.json with loglevel WARN run: | "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json.loglevel" - # "sed -i 's/\"minify\": \"true\",/\"minify\": \"false\",/' settings.json" + + - name: Set minify to false + run: "sed -i 's/\"minify\": \"true\",/\"minify\": \"false\",/' settings.json" # XXX we should probably run all tests, because plugins could effect their results - name: Remove standard frontend test files, so only plugin tests are run