From 78d8d6a3da603d4d9418197952084870b4ada710 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sat, 14 Feb 2026 13:28:46 +0100 Subject: [PATCH] no tunit --- .github/workflows/ci.yml | 18 ++++-------------- azure-pipelines-ci.yml | 28 +++++++++++----------------- 2 files changed, 15 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bf5e8d1..95fd81ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,8 @@ jobs: with: dotnet-version: '8.0.x' - - name: Setup .NET 10 - uses: actions/setup-dotnet@v4 - 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.TUnitTests' + # run: dotnet test './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release - name: 'WireMock.Net.Tests' run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0 @@ -56,13 +51,8 @@ jobs: with: dotnet-version: '8.0.x' - - name: Setup .NET 10 - uses: actions/setup-dotnet@v4 - 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.TUnitTests' + # run: dotnet test './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' -c Release - name: 'WireMock.Net.Tests' run: dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0 diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index d7a79f5c..3b7cf603 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -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" displayName: 'WireMock.Net.Tests with Coverage' - - task: CmdLine@2 - inputs: - 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" - displayName: 'WireMock.Net.TUnitTests with Coverage' + # - task: CmdLine@2 + # inputs: + # script: | + # 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' - task: CmdLine@2 inputs: @@ -109,12 +109,6 @@ jobs: packageType: 'sdk' version: '8.0.x' - - task: UseDotNet@2 - displayName: Use .NET 10.0 - inputs: - packageType: 'sdk' - version: '10.0.x' - - task: DotNetCoreCLI@2 displayName: 'WireMock.Net.Tests.UsingNuGet' inputs: @@ -129,12 +123,12 @@ jobs: projects: './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx' - - task: DotNetCoreCLI@2 - displayName: 'WireMock.Net.TUnitTests with Coverage' - inputs: - command: 'test' - projects: './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' - arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx' + # - task: DotNetCoreCLI@2 + # displayName: 'WireMock.Net.TUnitTests with Coverage' + # inputs: + # command: 'test' + # projects: './test/WireMock.Net.TUnitTests/WireMock.Net.TUnitTests.csproj' + # arguments: '--configuration Debug --framework net8.0 --collect:"XPlat Code Coverage" --logger trx' - task: DotNetCoreCLI@2 displayName: 'WireMock.Net.Middleware.Tests with Coverage'