mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
derp
This commit is contained in:
parent
d74782c7e6
commit
f6285e10e0
1 changed files with 5 additions and 5 deletions
10
.github/workflows/frontend-tests.yml
vendored
10
.github/workflows/frontend-tests.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue