]> git.deb.at Git - rhonda/impostor.git/commitdiff
AppVeyor
authorAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 12:30:51 +0000 (14:30 +0200)
committerAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 12:30:51 +0000 (14:30 +0200)
appveyor.yml

index 41570d460cbe05cb00af5bd764ad0e2d4592702b..7ab55ffaefb3761d0a0b4fefb13f21495235ab49 100644 (file)
@@ -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