mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-03 11:05:08 +03:00
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:
committed by
GitHub
parent
756916978d
commit
ebabf79017
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user