CI: Disable import/export rate limiting for frontend tests

pull/4853/head
Richard Hansen 2021-02-22 04:12:33 -05:00
parent 644c8e6195
commit e9cb1692eb
1 changed files with 8 additions and 0 deletions

View File

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