Skip to content

Commit 1fccca9

Browse files
committed
Fix error for zero tests found on memory dumps
1 parent 3aa8a8b commit 1fccca9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/Steeltoe.All.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
run: dotnet test --solution ${{ env.SOLUTION_FILE }} ${{ env.SKIP_FILTER_NO_MEMORY_DUMPS }} ${{ env.COMMON_TEST_ARGS }}
101101

102102
- name: Test (memory dumps)
103-
run: dotnet test --solution ${{ env.SOLUTION_FILE }} ${{ env.SKIP_FILTER_WITH_MEMORY_DUMPS }} ${{ env.COMMON_TEST_ARGS }}
103+
run: dotnet test --project .\src\Management\test\Endpoint.Test\Steeltoe.Management.Endpoint.Test.csproj ${{ env.SKIP_FILTER_WITH_MEMORY_DUMPS }} ${{ env.COMMON_TEST_ARGS }}
104104

105105
- name: Upload crash/hang dumps (on failure)
106106
if: ${{ failure() }}

.github/workflows/component-shared-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Test (memory dumps)
9494
if: ${{ inputs.component == 'Management' }}
95-
run: dotnet test --solution ${{ env.SOLUTION_FILE }} ${{ env.SKIP_FILTER_WITH_MEMORY_DUMPS }} ${{ env.COMMON_TEST_ARGS }}
95+
run: dotnet test --project .\src\Management\test\Endpoint.Test\Steeltoe.Management.Endpoint.Test.csproj ${{ env.SKIP_FILTER_WITH_MEMORY_DUMPS }} ${{ env.COMMON_TEST_ARGS }}
9696

9797
- name: Upload crash/hang dumps (on failure)
9898
if: ${{ failure() }}

.github/workflows/sonarcube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: dotnet test --solution ${{ env.SOLUTION_FILE }} --filter-not-trait "Category=MemoryDumps" ${{ env.SONAR_TEST_ARGS }}
8585

8686
- name: Test (memory dumps)
87-
run: dotnet test --solution ${{ env.SOLUTION_FILE }} --filter-trait "Category=MemoryDumps" ${{ env.SONAR_TEST_ARGS }}
87+
run: dotnet test --project .\src\Management\test\Endpoint.Test\Steeltoe.Management.Endpoint.Test.csproj --filter-trait "Category=MemoryDumps" ${{ env.SONAR_TEST_ARGS }}
8888

8989
- name: End Sonar .NET scanner
9090
if: ${{ !cancelled() && steps.sonar_begin.outcome == 'success' }}

0 commit comments

Comments
 (0)