Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
Update pipelines for single unit test project
Browse files Browse the repository at this point in the history
  • Loading branch information
valters-tomsons committed Nov 19, 2020
1 parent 41503bf commit 1553fac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
inputs:
targetType: 'inline'
script: |
echo "##vso[task.setvariable variable=CommithHash]$(git log --pretty=format:'%h' -n 1)"
echo "##vso[task.setvariable variable=CommitHash]$(git log --pretty=format:'%h' -n 1)"
mkdir $ARTIFACTSFOLDER
- task: UseDotNet@2
Expand All @@ -47,7 +47,7 @@ steps:
TELEMETRY_KEY: $(TELEMETRY_KEY)
SERVICE_BASE_URL: $(SERVICE_BASE_URL)

- script: dotnet test Tests/Unit/*
- script: dotnet test Tests/Unit
displayName: 'Run unit tests'

- script: dotnet publish -c $CONFIGURATION -r linux-x64
Expand Down
2 changes: 1 addition & 1 deletion Pipelines/azure-pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ steps:
- script: dotnet build
displayName: 'Build solution'

- script: dotnet test Tests/Unit/*
- script: dotnet test Tests/Unit
displayName: 'Run unit tests'

0 comments on commit 1553fac

Please sign in to comment.