Skip to content

Commit 28def48

Browse files
committed
Improve ordering of CI pipeline
1 parent 648f66f commit 28def48

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ image: Visual Studio 2022
33
init:
44
- cmd: git config --global core.autocrlf true
55
- ps: $env:IGNORE_NORMALISATION_GIT_HEAD_MOVE = 1
6-
install:
7-
- ps: .\restore-database-for-testing.ps1
6+
87
before_build:
98
- cmd: >-
109
gitversion /l console /output buildserver /updateAssemblyInfo /verbosity Minimal
1110
12-
nuget restore
11+
nuget restore -Verbosity quiet
1312
build:
1413
verbosity: minimal
1514
before_package:
@@ -19,6 +18,10 @@ after_build:
1918
$nuget_version = "$env:GitVersion_NuGetVersionV2"
2019
2120
.\.packages\package-NBi.ps1 $nuget_version
21+
22+
before_test:
23+
- ps: .\restore-database-for-testing.ps1
24+
2225
test_script:
2326
- cmd: >-
2427
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

0 commit comments

Comments
 (0)