Skip to content

Commit 33d0867

Browse files
authored
Merge pull request #19 from astar-development/features/fix-sonar-cloud-analysis
Features/fix sonar cloud analysis
2 parents b96a93c + 1bb601d commit 33d0867

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5151
shell: powershell
5252
run: |
53+
dotnet tool install --global dotnet-coverage
5354
.\.sonar\scanner\dotnet-sonarscanner begin /k:"astar-development_astar-dev-functional-extensions" /o:"astar-development" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
5455
dotnet build
56+
dotnet-coverage collect 'dotnet test --filter "FullyQualifiedName!~Tests.EndToEnd"' -f xml -o 'coverage.xml'
5557
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)