diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index afb7cd3a..6e871e06 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,6 +19,11 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: '10.0.x' + - name: Raise file watcher limits + # The test hosts create a Razor file watcher per static asset, and the default limit of 128 inotify instances + # is reached when several hosts run in parallel. + if: runner.os == 'Linux' + run: sudo sysctl -w fs.inotify.max_user_instances=1024 fs.inotify.max_user_watches=524288 - name: Restore Six Labors license shell: bash run: printf '%s\n' "${{ secrets.SIXLABORS_LICENSE_KEY }}" > src/Lumina.Domain/sixlabors.lic