Skip to content

Commit 0bff621

Browse files
committed
Update azure-pipeline - Crm.Hubspot.yml for Azure Pipelines
1 parent c699df7 commit 0bff621

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

azure-pipeline - Crm.Hubspot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variables:
99
projectName: 'Umbraco.Forms.Integrations.Crm.Hubspot'
1010
solution: '**/*.sln'
1111
project: 'src/$(projectName)/$(projectName).csproj'
12-
testPoject: 'src/$(projectName).Tests/$(projectName).Tests.csproj'
12+
testProject: 'src/$(projectName).Tests/$(projectName).Tests.csproj'
1313
buildPlatform: 'Any CPU'
1414
buildConfiguration: 'Release'
1515

@@ -33,16 +33,16 @@ steps:
3333
- task: VSBuild@1
3434
displayName: 'Build Tests'
3535
inputs:
36-
solution: '$(testPoject)'
36+
solution: '$(testProject)'
3737
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
3838
platform: '$(buildPlatform)'
3939
configuration: '$(buildConfiguration)'
4040

41-
- task: VSTest@2
42-
displayName: 'Run Tests'
41+
- task: DotNetCoreCLI@2
42+
displayName: dotnet test
4343
inputs:
44-
platform: '$(buildPlatform)'
45-
configuration: '$(buildConfiguration)'
44+
command: test
45+
projects: '**/*.Tests.csproj'
4646

4747
- task: DotNetCoreCLI@2
4848
displayName: 'Create NuGet Package'

0 commit comments

Comments
 (0)