From e9cb1692eb14f3d67f0dee3c728ea1f4fa54670a Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 22 Feb 2021 04:12:33 -0500 Subject: [PATCH] CI: Disable import/export rate limiting for frontend tests --- .github/workflows/frontend-tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index df67d3f66..1b57f6514 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -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/*