CI: Disable import/export rate limiting for frontend tests
parent
644c8e6195
commit
e9cb1692eb
|
@ -31,6 +31,10 @@ jobs:
|
||||||
- name: Create settings.json
|
- name: Create settings.json
|
||||||
run: cp settings.json.template 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
|
- uses: saucelabs/sauce-connect-action@v1.1.2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.SAUCE_USERNAME }}
|
username: ${{ secrets.SAUCE_USERNAME }}
|
||||||
|
@ -102,6 +106,10 @@ jobs:
|
||||||
- name: Create settings.json
|
- name: Create settings.json
|
||||||
run: cp settings.json.template 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
|
# 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
|
||||||
run: rm src/tests/frontend/specs/*
|
run: rm src/tests/frontend/specs/*
|
||||||
|
|
Loading…
Reference in New Issue