Skip to content

Commit 3474bf6

Browse files
author
Gonzalo Diaz
committed
Revert "Auxiliary commit to revert individual files from 157629d"
This reverts commit 34665a25b1d4952c931cb7db01b6488428e77191.
1 parent 157629d commit 3474bf6

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,14 @@ jobs:
3939
run: |
4040
New-Item -Path .\.sonar\scanner -ItemType Directory
4141
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
42-
- name: Install Coverlet
43-
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
44-
shell: powershell
45-
run: |
46-
dotnet tool install --global coverlet.console
4742
- name: Build and analyze
4843
env:
4944
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
5045
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5146
shell: powershell
5247
run: |
5348
.\.sonar\scanner\dotnet-sonarscanner begin /k:"sir-gon_algorithm-exercises-csharp" /o:"sir-gon" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
54-
dotnet build --no-incremental
55-
coverlet .\algorithm-exercises-csharp\bin\Debug\net8.0\algorithm-exercises-csharp-lib.dll
56-
--target "dotnet"
57-
--targetargs "test --no-build"
58-
-f=opencover
59-
-o="coverage.xml"
49+
dotnet restore
50+
dotnet build --no-restore
51+
dotnet test --no-build --verbosity normal
6052
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)