fix(webapi): allow reading the instance-lock owner on macOS (#10454)

* test(webapi): cover instance-lock owner reads across processes

* fix(webapi): keep macOS instance-lock owners readable

* test(webapi): wait for lock release after owner exit
This commit is contained in:
Miheichev Aleksandr Sergeevich
2026-11-02 01:20:08 +00:00
committed by GitHub
parent 756916978d
commit ebabf79017
6 changed files with 255 additions and 2 deletions
+18
View File
@@ -46,6 +46,24 @@ permissions:
contents: read
jobs:
macos:
name: macOS WebAPI and ServiceLib tests
runs-on: macos-latest
timeout-minutes: 15
env:
TUNIT_MAX_PARALLEL_TESTS: 1
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.x'
- name: Run ServiceLib.Tests
run: dotnet test --project v2rayN/ServiceLib.Tests/ServiceLib.Tests.csproj -c Release
- name: Run WebAPI.Tests
run: dotnet test --project v2rayN/v2rayN.WebAPI/Tests/v2rayN.WebAPI.Tests.csproj -c Release
identity:
name: Resolve API build identity
runs-on: ubuntu-24.04