Raises the Linux file watcher limits for the parallel test hosts.

This commit is contained in:
BinaryAlley committed 2026-11-07 19:01:40 +02:00
1 parent a88e7ebc4e
commit 813832aa73
1 file changed
+5
+5
View File
@@ -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