File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ variables:
9
9
projectName : ' Umbraco.Forms.Integrations.Crm.Hubspot'
10
10
solution : ' **/*.sln'
11
11
project : ' src/$(projectName)/$(projectName).csproj'
12
- testPoject : ' src/$(projectName).Tests/$(projectName).Tests.csproj'
12
+ testProject : ' src/$(projectName).Tests/$(projectName).Tests.csproj'
13
13
buildPlatform : ' Any CPU'
14
14
buildConfiguration : ' Release'
15
15
@@ -33,16 +33,16 @@ steps:
33
33
- task : VSBuild@1
34
34
displayName : ' Build Tests'
35
35
inputs :
36
- solution : ' $(testPoject )'
36
+ solution : ' $(testProject )'
37
37
msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
38
38
platform : ' $(buildPlatform)'
39
39
configuration : ' $(buildConfiguration)'
40
40
41
- - task : VSTest @2
42
- displayName : ' Run Tests '
41
+ - task : DotNetCoreCLI @2
42
+ displayName : dotnet test
43
43
inputs :
44
- platform : ' $(buildPlatform) '
45
- configuration : ' $(buildConfiguration) '
44
+ command : test
45
+ projects : ' **/*.Tests.csproj '
46
46
47
47
- task : DotNetCoreCLI@2
48
48
displayName : ' Create NuGet Package'
You can’t perform that action at this time.
0 commit comments