Commit 9dd82506 authored by Kim Meiser's avatar Kim Meiser 💬
Browse files

Verwende packages-Ordner beim NuGet Restore, damit xunit.console runner gefunden wird.

parent 45b027c8
Pipeline #806 failed with stages
in 36 seconds
variables:
NUGET_PATH: 'C:\dev\tools\NuGet\nuget.exe'
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe'
XUNIT_PATH: packages\xunit.runner.console.2.4.1\tools\net452
XUNIT_PATH: packages\xunit.runner.console\2.4.1\tools\net472
UNITTEST_FOLDER: '.\tests\JeoParody.Tests\bin\Release\'
stages:
......@@ -15,7 +15,7 @@ build_job:
only:
- branches
script:
- '& "$env:NUGET_PATH" restore'
- '& "$env:NUGET_PATH" restore -PackagesDirectory packages'
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /clp:ErrorsOnly'
artifacts:
expire_in: 2 days
......@@ -30,6 +30,6 @@ test_job:
only:
- branches
script:
- '& "$env:XUNIT_PATH\xunit.console.exe" "$env:UNITTEST_FOLDER\CiCdExample.Tests.dll"'
- '& "$env:XUNIT_PATH\xunit.console.exe" "$env:UNITTEST_FOLDER\Jeoparody.Tests.dll"'
dependencies:
- build_job
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment