Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Add VS Test installer and running tasks.
- Fix labels array on github publish version task.

***NO_CI***
  • Loading branch information
josesimoes committed Dec 16, 2024
1 parent 6615605 commit b5020e6
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,37 @@ jobs:
eq(variables['UPDATE_DEPENDENTS'], 'false')
)
- task: VisualStudioTestPlatformInstaller@1
condition: >-
and(
succeeded(),
eq(variables['UPDATE_DEPENDENTS'], 'false')
)
displayName: 'Visual Studio Test Platform Installer'
inputs:
versionSelector: latestStable

- task: VSTest@2
condition: >-
and(
succeeded(),
eq(variables['UPDATE_DEPENDENTS'], 'false')
)
displayName: 'Running Unit Tests'
continueOnError: false
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\*Tests*.dll
!**\obj\**
!**\TestAdapter\**
searchFolder: '$(System.DefaultWorkingDirectory)'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
diagnosticsEnabled: true
vsTestVersion: toolsInstaller
codeCoverageEnabled: true

- task: NuGetCommand@2
condition: >-
and(
Expand Down Expand Up @@ -448,7 +479,7 @@ jobs:
[
{ "label" : "Type: bug", "displayName" : "Bugs fixed", "state" : "closed" },
{ "label" : "Type: enhancement", "displayName" : "Enhancements and new features", "state" : "closed" },
{ "label" : "Breaking-Change", "displayName" : "Breaking Changes", "state" : "closed" }
{ "label" : "Breaking-Change", "displayName" : "Breaking Changes", "state" : "closed" },
{ "label" : "Type: dependencies", "displayName" : "Dependencies updated", "state" : "closed" },
{ "label" : "Type: documentation", "displayName" : "Documentation", "state" : "closed" }
]
Expand Down

0 comments on commit b5020e6

Please sign in to comment.