Skip to content

Commit d02c261

Browse files
committed
move testing inside of sonar scanner
1 parent a41a4a8 commit d02c261

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/Build.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: FileSystem [Build]
22

33
env:
4-
JAVA_VERSION: 11
4+
JAVA_VERSION: 17
55
JAVA_DISTRIBUTION: microsoft
66
DOTNET_VERSION: 7.0.x
77
DOTNET_BUILD_CONFIGURATION: Release
@@ -49,9 +49,6 @@ jobs:
4949
- name: Build solution
5050
run: dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} /warnaserror
5151

52-
- name: Test solution
53-
run: dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --verbosity normal
54-
5552
- name: Cleanup solution
5653
run: dotnet clean
5754

@@ -60,4 +57,5 @@ jobs:
6057
run: |
6158
.\.sonar\scanner\dotnet-sonarscanner begin /k:"${{ env.SONAR_PROJECT }}" /o:"${{ env.SONAR_ORGANIZATION }}" /d:sonar.login="${{ env.SONAR_TOKEN }}" /d:sonar.host.url="${{ env.SONAR_HOST }}"
6259
dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }}
60+
dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --verbosity normal
6361
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ env.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)