From ee46d6e08e43791b621818e933c33bd9a9ad5ace Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Sat, 27 Jul 2024 19:09:02 +1000 Subject: [PATCH] Update appveyor.yml --- src/appveyor.yml | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/src/appveyor.yml b/src/appveyor.yml index 198e3f30a7..822fdd0ffe 100644 --- a/src/appveyor.yml +++ b/src/appveyor.yml @@ -24,22 +24,28 @@ before_build: } - dotnet tool restore --tool-manifest src/.config/dotnet-tools.json build_script: - - dotnet build src --configuration Release --verbosity quiet - - dotnet test src/DeterministicTests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/FSharpTests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/StaticSettingsTests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/StrictJsonTests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.ClipboardAccept.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.ExceptionParsing.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Expecto.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Expecto.FSharpTests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Expecto.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.MSTest.SourceGenerator.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.NUnit.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.NUnit.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Xunit.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet - - dotnet test src/Verify.Xunit.Tests --configuration Release --no-build --no-restore --verbosity quiet + - pwsh: | + dotnet build src --configuration Release --verbosity quiet + dotnet test src/DeterministicTests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/FSharpTests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/StaticSettingsTests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/StrictJsonTests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.ClipboardAccept.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.ExceptionParsing.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Expecto.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Expecto.FSharpTests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Expecto.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.MSTest.SourceGenerator.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.NUnit.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.NUnit.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Xunit.DerivePaths.Tests --configuration Release --no-build --no-restore --verbosity quiet + dotnet test src/Verify.Xunit.Tests --configuration Release --no-build --no-restore --verbosity quiet + if ($isWindows) { + vstest.console src/Verify.MSTest.DerivePaths.Tests/bin/Release/net9.0/Verify.MSTest.DerivePaths.Tests.dll /logger:Appveyor + vstest.console src/Verify.MSTest.Tests/bin/Release/net48/Verify.MSTest.Tests.dll /logger:Appveyor + vstest.console src/Verify.MSTest.Tests/bin/Release/net9.0/Verify.MSTest.Tests.dll /logger:Appveyor + } #- pwsh: | # if ($isWindows) {