mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
derp
This commit is contained in:
parent
d8ec9309d5
commit
ff708c7160
1 changed files with 9 additions and 6 deletions
15
.github/workflows/frontend-tests.yml
vendored
15
.github/workflows/frontend-tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue