mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
CI: Leave log level at INFO for frontend tests
This commit is contained in:
parent
3ca1589885
commit
a354b03633
2 changed files with 6 additions and 6 deletions
4
.github/workflows/frontend-admin-tests.yml
vendored
4
.github/workflows/frontend-admin-tests.yml
vendored
|
@ -50,8 +50,8 @@ 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: Create settings.json
|
||||||
run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json"
|
run: cp settings.json.template settings.json
|
||||||
|
|
||||||
- name: Write custom settings.json that enables the Admin UI tests
|
- name: Write custom settings.json that enables the Admin UI tests
|
||||||
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
|
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
|
||||||
|
|
8
.github/workflows/frontend-tests.yml
vendored
8
.github/workflows/frontend-tests.yml
vendored
|
@ -28,8 +28,8 @@ 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: Create settings.json
|
||||||
run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json"
|
run: cp settings.json.template settings.json
|
||||||
|
|
||||||
- uses: saucelabs/sauce-connect-action@v1.1.2
|
- uses: saucelabs/sauce-connect-action@v1.1.2
|
||||||
with:
|
with:
|
||||||
|
@ -99,8 +99,8 @@ 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: Create settings.json
|
||||||
run: "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/' < settings.json.template > settings.json"
|
run: cp settings.json.template settings.json
|
||||||
|
|
||||||
- name: Write custom settings.json that enables the Admin UI tests
|
- name: Write custom settings.json that enables the Admin UI tests
|
||||||
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
|
run: "sed -i 's/\"enableAdminUITests\": false/\"enableAdminUITests\": true,\\n\"users\":{\"admin\":{\"password\":\"changeme\",\"is_admin\":true}}/' settings.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue