Fixing path separator character to work with both linux and windows.Build DotnetWorker.Extensions.sln as well for tests

This commit is contained in:
Shyju Krishnankutty 2024-09-05 15:02:52 -07:00 коммит произвёл Fabio Cavalcante
Родитель 15c0a8063f
Коммит a7b106277b
3 изменённых файлов: 13 добавлений и 10 удалений

Просмотреть файл

@ -20,7 +20,9 @@ jobs:
inputs: inputs:
command: build command: build
arguments: '-c Release' arguments: '-c Release'
projects: DotNetWorker.sln projects: |
DotNetWorker.sln
DotNetWorker.Extensions.sln
- template: /eng/ci/templates/steps/setup-e2e-tests.yml@self - template: /eng/ci/templates/steps/setup-e2e-tests.yml@self
parameters: parameters:
@ -36,4 +38,3 @@ jobs:
arguments: '--no-build -c Release --filter "FullyQualifiedName~HttpTrigger"' # only run http tests to avoid emulators on Linux arguments: '--no-build -c Release --filter "FullyQualifiedName~HttpTrigger"' # only run http tests to avoid emulators on Linux
projects: | projects: |
test/**/*Tests.csproj test/**/*Tests.csproj
!test/**/Worker.Extensions.Rpc.Tests.csproj

Просмотреть файл

@ -30,7 +30,9 @@ jobs:
inputs: inputs:
command: build command: build
arguments: '-c Release' arguments: '-c Release'
projects: DotNetWorker.sln projects: |
DotNetWorker.sln
DotNetWorker.Extensions.sln
- template: /eng/ci/templates/steps/setup-e2e-tests.yml@self - template: /eng/ci/templates/steps/setup-e2e-tests.yml@self
parameters: parameters:

Просмотреть файл

@ -30,7 +30,7 @@ jobs:
command: test command: test
arguments: -v n arguments: -v n
projects: | projects: |
**\DotNetWorkerTests.csproj **/DotNetWorkerTests.csproj
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: OpenTelemetry Tests displayName: OpenTelemetry Tests
@ -38,7 +38,7 @@ jobs:
command: test command: test
arguments: -v n arguments: -v n
projects: | projects: |
**\DotNetWorker.Opentelemetry.Tests.csproj **/DotNetWorker.Opentelemetry.Tests.csproj
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: Sdk Tests displayName: Sdk Tests
@ -56,8 +56,8 @@ jobs:
command: test command: test
arguments: -v n arguments: -v n
projects: | projects: |
**\Worker.Extensions.Http.AspNetCore.Tests.csproj **/Worker.Extensions.Http.AspNetCore.Tests.csproj
**\Worker.Extensions.Rpc.Tests.csproj **/Worker.Extensions.Rpc.Tests.csproj
**\Worker.Extensions.Shared.Tests.csproj **/Worker.Extensions.Shared.Tests.csproj
**\Worker.Extensions.SignalRService.Tests.csproj **/Worker.Extensions.SignalRService.Tests.csproj
**\Worker.Extensions.Tests.csproj **/Worker.Extensions.Tests.csproj