mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Raises the Linux file watcher limits for the parallel test hosts.
This commit is contained in:
1 parent
a88e7ebc4e
commit
813832aa73
1 file changed
+5
@@ -19,6 +19,11 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: '10.0.x'
|
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
|
- name: Restore Six Labors license
|
||||||
shell: bash
|
shell: bash
|
||||||
run: printf '%s\n' "${{ secrets.SIXLABORS_LICENSE_KEY }}" > src/Lumina.Domain/sixlabors.lic
|
run: printf '%s\n' "${{ secrets.SIXLABORS_LICENSE_KEY }}" > src/Lumina.Domain/sixlabors.lic
|
||||||
|
|||||||
Reference in new issue
Block a user