This commit is contained in:
John McLear 2021-01-26 20:00:14 +00:00
parent d8ec9309d5
commit ff708c7160

View file

@ -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