From 2e72f7e9fa27ca472678a5b8732a45152f4e7c0f Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 31 Jan 2020 11:46:34 -0600 Subject: [PATCH] Increase watch limit for GitHub actions testing --- .github/workflows/build_test_deploy.yml | 4 ++++ .github/workflows/test_react_next.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 4fd8670ea8d6dd7..e38d430f6ac9cd9 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -49,6 +49,10 @@ jobs: with: path: '.' key: ${{ github.sha }} + + # TODO: remove after we fix watchpack watching too much + - run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p + - run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3 testsPass: diff --git a/.github/workflows/test_react_next.yml b/.github/workflows/test_react_next.yml index 6718973fdeafa6d..443b0e25af51844 100644 --- a/.github/workflows/test_react_next.yml +++ b/.github/workflows/test_react_next.yml @@ -47,4 +47,7 @@ jobs: - run: yarn upgrade react@next react-dom@next -W --dev + # TODO: remove after we fix watchpack watching too much + - run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p + - run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3