From a6f895cc14c873b1804a9735ac575f4f3f86b32e Mon Sep 17 00:00:00 2001 From: AeonLucid Date: Wed, 14 Oct 2020 14:30:51 +0200 Subject: [PATCH] AppVeyor --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 41570d4..7ab55ff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,13 +35,15 @@ before_build: build_script: # Tests - dotnet build "src/Impostor.Tests/Impostor.Tests.csproj" -c Release - - cmd: %xunit20%\xunit.console "src/Impostor.Tests/bin/Debug/net5.0/Impostor.Tests.dll" -appveyor # Client - dotnet build "src/Impostor.Client/Impostor.Client.Cli/Impostor.Client.Cli.csproj" --no-restore -c Release -f net5.0 - dotnet build "src/Impostor.Client/Impostor.Client.WinForms/Impostor.Client.WinForms.csproj" /p:Configuration=Release /p:DebugSymbols=false /p:DebugType=None # Server win-x64 - dotnet publish -c release -o ./build/win-x64 -f net5.0 -r win-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true +test_script: + - dotnet test --logger:Appveyor --no-build --no-restore -v normal -f net5.0 -c Release "src/Impostor.Tests" + only_commits: files: - appveyor.yml -- 2.39.5