Skip to content

Commit

Permalink
Improve ordering of CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddryck committed Aug 10, 2023
1 parent 648f66f commit 28def48
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 28def48

Please sign in to comment.