aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cf1a8c2d..edeaca8b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -41,7 +41,12 @@ steps:
testRunner: JUnit
testResultsFiles: '**/TESTS-*.xml'
-- script: dotnet test Timeline.Tests/Timeline.Test-CI.csproj --configuration $(buildConfiguration) --configfile nuget.config --logger trx
+- script: |
+ dotnet restore Timeline/Timeline-CI.csproj --configfile nuget.config
+ dotnet restore Timeline.Tests/Timeline.Test-CI.csproj --configfile nuget.config
+ displayName: Dotnet Restore
+
+- script: dotnet test Timeline.Tests/Timeline.Test-CI.csproj --configuration $(buildConfiguration) --no-restore --logger trx
displayName: Dotnet Test
- task: PublishTestResults@2
@@ -54,7 +59,7 @@ steps:
workingDirectory: Timeline/ClientApp
displayName: Client App Build
-- script: dotnet publish Timeline/Timeline-CI.csproj --configuration $(buildConfiguration) --configfile nuget.config --output ./publish/
+- script: dotnet publish Timeline/Timeline-CI.csproj --configuration $(buildConfiguration) --no-restore --output ./publish/
displayName: Dotnet Publish
- task: PublishPipelineArtifact@0