Add running tests and collecting coverage
This commit is contained in:
parent
3c7a83f7f5
commit
d7885d69c2
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ sonarqube-check:
|
||||||
- "export PATH=\"$PATH:$HOME/.dotnet/tools\""
|
- "export PATH=\"$PATH:$HOME/.dotnet/tools\""
|
||||||
- "dotnet sonarscanner begin /k:\"wonderking_continuity_AYVNylewKO-B3MBr7mwm\" /d:sonar.login=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" "
|
- "dotnet sonarscanner begin /k:\"wonderking_continuity_AYVNylewKO-B3MBr7mwm\" /d:sonar.login=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" "
|
||||||
- "dotnet build"
|
- "dotnet build"
|
||||||
|
- "dotnet test --collect \"Code Coverage\""
|
||||||
- "dotnet sonarscanner end /d:sonar.login=\"$SONAR_TOKEN\""
|
- "dotnet sonarscanner end /d:sonar.login=\"$SONAR_TOKEN\""
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue