From d7885d69c2ab96fa9e7d6df14ceb5ff3e5813e8b Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 29 Dec 2022 11:26:28 +0000 Subject: [PATCH] Add running tests and collecting coverage --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f949586..c97f614 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,6 +109,7 @@ sonarqube-check: - "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 build" + - "dotnet test --collect \"Code Coverage\"" - "dotnet sonarscanner end /d:sonar.login=\"$SONAR_TOKEN\"" allow_failure: true only: