mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-20 07:51:41 +02:00
no tunit
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -24,13 +24,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Setup .NET 10
|
# - name: 'WireMock.Net.TUnitTests'
|
||||||
uses: actions/setup-dotnet@v4
|
# run: dotnet test './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release
|
||||||
with:
|
|
||||||
dotnet-version: '10.0.x'
|
|
||||||
|
|
||||||
- name: 'WireMock.Net.TUnitTests'
|
|
||||||
run: dotnet test --project './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release -p:UseVSTest=false
|
|
||||||
|
|
||||||
- name: 'WireMock.Net.Tests'
|
- name: 'WireMock.Net.Tests'
|
||||||
run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
|
run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
|
||||||
@@ -56,13 +51,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Setup .NET 10
|
# - name: 'WireMock.Net.TUnitTests'
|
||||||
uses: actions/setup-dotnet@v4
|
# run: dotnet test './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release
|
||||||
with:
|
|
||||||
dotnet-version: '10.0.x'
|
|
||||||
|
|
||||||
- name: 'WireMock.Net.TUnitTests'
|
|
||||||
run: dotnet test --project './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release -p:UseVSTest=false
|
|
||||||
|
|
||||||
- name: 'WireMock.Net.Tests'
|
- name: 'WireMock.Net.Tests'
|
||||||
run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
|
run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
|
||||||
|
|||||||
@@ -50,11 +50,11 @@ jobs:
|
|||||||
dotnet-coverage collect "dotnet test ./test/WireMock.Net.Tests/WireMock.Net.Tests.csproj --configuration Debug --no-build --framework net8.0" -f xml -o "wiremock-coverage-xunit.xml"
|
dotnet-coverage collect "dotnet test ./test/WireMock.Net.Tests/WireMock.Net.Tests.csproj --configuration Debug --no-build --framework net8.0" -f xml -o "wiremock-coverage-xunit.xml"
|
||||||
displayName: 'WireMock.Net.Tests with Coverage'
|
displayName: 'WireMock.Net.Tests with Coverage'
|
||||||
|
|
||||||
- task: CmdLine@2
|
# - task: CmdLine@2
|
||||||
inputs:
|
# inputs:
|
||||||
script: |
|
# script: |
|
||||||
dotnet-coverage collect "dotnet test ./test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj --configuration Debug -p:UseVSTest=false --no-build" -f xml -o "wiremock-coverage-tunit.xml"
|
# dotnet-coverage collect "dotnet test ./test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj --configuration Debug --no-build" -f xml -o "wiremock-coverage-tunit.xml"
|
||||||
displayName: 'WireMock.Net.TUnitTests with Coverage'
|
# displayName: 'WireMock.Net.TUnitTests with Coverage'
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
@@ -109,12 +109,6 @@ jobs:
|
|||||||
packageType: 'sdk'
|
packageType: 'sdk'
|
||||||
version: '8.0.x'
|
version: '8.0.x'
|
||||||
|
|
||||||
- task: UseDotNet@2
|
|
||||||
displayName: Use .NET 10.0
|
|
||||||
inputs:
|
|
||||||
packageType: 'sdk'
|
|
||||||
version: '10.0.x'
|
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'WireMock.Net.Tests.UsingNuGet'
|
displayName: 'WireMock.Net.Tests.UsingNuGet'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -129,12 +123,12 @@ jobs:
|
|||||||
projects: './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj'
|
projects: './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj'
|
||||||
arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx'
|
arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
# - task: DotNetCoreCLI@2
|
||||||
displayName: 'WireMock.Net.TUnitTests with Coverage'
|
# displayName: 'WireMock.Net.TUnitTests with Coverage'
|
||||||
inputs:
|
# inputs:
|
||||||
command: 'test'
|
# command: 'test'
|
||||||
projects: './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj'
|
# projects: './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj'
|
||||||
arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx'
|
# arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'WireMock.Net.Middleware.Tests with Coverage'
|
displayName: 'WireMock.Net.Middleware.Tests with Coverage'
|
||||||
|
|||||||
Reference in New Issue
Block a user