Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
- '**.csproj'
- '**/packages.lock.json'
- '.github/workflows/test.yml'
workflow_call:
workflow_call:
inputs:
require-current-artifact:
description: Require the server artifact from the current workflow run
required: false
type: boolean
default: false

jobs:
build-and-test:
Expand All @@ -25,6 +31,8 @@ jobs:
repository: ZNotify/cs-sdk

- uses: ZNotify/test-server-action@master
with:
require-current-artifact: ${{ inputs.require-current-artifact || false }}

- uses: actions/cache@v3
with:
Expand All @@ -43,4 +51,5 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --verbosity normal
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"

2 changes: 1 addition & 1 deletion src/ZNotify.Test/ZNotify.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Include="NUnit" Version="4.3.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.7.0" />
<PackageReference Include="coverlet.collector" Version="6.0.3" />
<PackageReference Include="coverlet.collector" Version="6.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/ZNotify/ZNotify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<ItemGroup>
<PackageReference Include="FluentResults" Version="3.16.0" />
<PackageReference Include="Microsoft.Extensions.ApiDescription.Client" Version="9.0.0">
<PackageReference Include="Microsoft.Extensions.ApiDescription.Client" Version="9.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
8 changes: 4 additions & 4 deletions src/ZNotify/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"Microsoft.Extensions.ApiDescription.Client": {
"type": "Direct",
"requested": "[9.0.0, )",
"resolved": "9.0.0",
"contentHash": "IdMbOqk1voSh3Bavt5MRDXtJNNrMvRaiXHA8qZ7VdIA+U2I9jBAexuoo8eWlvneDuwB9al3Z2u14rNSB25u5mg=="
"requested": "[9.0.1, )",
"resolved": "9.0.1",
"contentHash": "esKA4K/NyEPnGKTgcLIQuL+ssZhz7UGba6G5Zjy7mrqpDCkSVZpKiGo/eWIITxShUsN9/ZX+x6MjFX1A2J1Vqw=="
},
"Newtonsoft.Json": {
"type": "Direct",
Expand Down Expand Up @@ -59,4 +59,4 @@
}
}
}
}
}
Loading