mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
CI: Disable import/export rate limiting for frontend tests
This commit is contained in:
parent
644c8e6195
commit
e9cb1692eb
1 changed files with 8 additions and 0 deletions
8
.github/workflows/frontend-tests.yml
vendored
8
.github/workflows/frontend-tests.yml
vendored
|
@ -31,6 +31,10 @@ jobs:
|
|||
- name: Create settings.json
|
||||
run: cp settings.json.template settings.json
|
||||
|
||||
- name: Disable import/export rate limiting
|
||||
run: |
|
||||
sed -e '/^ *"importExportRateLimiting":/,/^ *\}/ s/"max":.*/"max": 0/' -i settings.json
|
||||
|
||||
- uses: saucelabs/sauce-connect-action@v1.1.2
|
||||
with:
|
||||
username: ${{ secrets.SAUCE_USERNAME }}
|
||||
|
@ -102,6 +106,10 @@ jobs:
|
|||
- name: Create settings.json
|
||||
run: cp settings.json.template settings.json
|
||||
|
||||
- name: Disable import/export rate limiting
|
||||
run: |
|
||||
sed -e '/^ *"importExportRateLimiting":/,/^ *\}/ s/"max":.*/"max": 0/' -i 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
|
||||
run: rm src/tests/frontend/specs/*
|
||||
|
|
Loading…
Reference in a new issue