diff --git a/appveyor.yml b/appveyor.yml index 723543410b..e403ebb358 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -67,8 +67,8 @@ test_script: - OpenCover.Console.exe -returntargetcode -register:user -target:"C:/Program Files/dotnet/dotnet.exe" -targetargs:"test -c %CONFIGURATION% --logger:trx;LogFileName=results.trx /p:DebugType=full tests/Tgstation.Server.Tests/Tgstation.Server.Tests.csproj" -filter:"+[Tgstation.Server*]* -[Tgstation.Server.Tests*]* -[Tgstation.Server.Host]Tgstation.Server.Host.Models.Migrations..*" -output:".\server_coverage.xml" -oldstyle - ps: $wc = New-Object 'System.Net.WebClient' - ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests\Tgstation.Server.Tests\TestResults\results.trx)) + - lint-openapi -c build/OpenApiValidationSettings.json C:/swagger.json after_test: - - lint-openapi -c build/OpenApiValidationSettings.json - ps: build/UploadCoverage.ps1 - ps: build/BuildDox.ps1 #host updater diff --git a/build/BuildDox.ps1 b/build/BuildDox.ps1 index a88025e3d7..7ff89fff10 100644 --- a/build/BuildDox.ps1 +++ b/build/BuildDox.ps1 @@ -26,7 +26,7 @@ if($publish_dox){ echo '# THIS BRANCH IS AUTO GENERATED BY APPVEYOR CI' > README.md # Add in the swagger specification - mv C:/swagger.json "$doxdir/swagger.json" + cp C:/swagger.json "$doxdir/swagger.json" # Need to create a .nojekyll file to allow filenames starting with an underscore # to be seen on the gh-pages site. Therefore creating an empty .nojekyll file.