This commit is contained in:
John McLear 2021-01-26 19:53:19 +00:00
parent d74782c7e6
commit f6285e10e0

View file

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