diff --git a/appveyor.yml b/appveyor.yml index a5fe171a3..ee6189908 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,13 +3,12 @@ image: Visual Studio 2022 init: - cmd: git config --global core.autocrlf true - ps: $env:IGNORE_NORMALISATION_GIT_HEAD_MOVE = 1 -install: - - ps: .\restore-database-for-testing.ps1 + before_build: - cmd: >- gitversion /l console /output buildserver /updateAssemblyInfo /verbosity Minimal - nuget restore + nuget restore -Verbosity quiet build: verbosity: minimal before_package: @@ -19,6 +18,10 @@ after_build: $nuget_version = "$env:GitVersion_NuGetVersionV2" .\.packages\package-NBi.ps1 $nuget_version + +before_test: + - ps: .\restore-database-for-testing.ps1 + test_script: - cmd: >- nunit3-console NBi.Testing.Core\bin\debug\NBi.Testing.Core.dll NBi.Testing.Framework\bin\debug\NBi.Testing.Framework.dll NBi.Testing.GenbiL\bin\debug\NBi.Testing.GenbiL.dll NBi.Testing.Xml\bin\debug\NBi.Testing.Xml.dll --where "cat!=Acceptance and cat!=Olap and cat!=Etl and cat!=WindowsService and cat!=ReportServerDB and cat!=LocalSQL" --result=myresults.xml;format=AppVeyor