|
|
@ -18,7 +18,7 @@ steps:
|
|
|
|
- name: tests
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd Sources/
|
|
|
|
- cd ./Qwirkle
|
|
|
|
- dotnet restore QwirkleWithoutMaui.sln
|
|
|
|
- dotnet restore QwirkleWithoutMaui.sln
|
|
|
|
- dotnet test QwirkleWithoutMaui --no-restore
|
|
|
|
- dotnet test QwirkleWithoutMaui --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
@ -32,7 +32,7 @@ steps:
|
|
|
|
sonar_token:
|
|
|
|
sonar_token:
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd Sources/
|
|
|
|
- cd ./Qwirkle
|
|
|
|
- dotnet restore QwirkleWithoutMaui.sln
|
|
|
|
- dotnet restore QwirkleWithoutMaui.sln
|
|
|
|
- dotnet sonarscanner begin /k:QwirkleSonar /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
|
|
|
|
- dotnet sonarscanner begin /k:QwirkleSonar /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
|
|
|
|
- dotnet build QwirkleWithoutMaui.sln -c Release --no-restore
|
|
|
|
- dotnet build QwirkleWithoutMaui.sln -c Release --no-restore
|
|
|
|