File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ jobs:
2121 before_script :
2222 - export PATH="$PATH:$HOME/.dotnet/tools"
2323 env :
24- - TEST_RESULTS_PATH=./Mastercard.Developer.OAuth1Signer.Tests/TestResults
24+ - TEST_RESULTS_PATH=./Mastercard.Developer.OAuth1Signer.Tests/bin
2525 script :
2626 - |
2727 dotnet sonarscanner begin \
2828 /k:"$SONAR_PROJECT_KEY" \
2929 /d:sonar.organization="$SONAR_ORGANIZATION_KEY" \
3030 /d:sonar.host.url="$SONAR_URL" \
3131 /d:sonar.login="$SONAR_TOKEN" \
32- /d:sonar.cs.vstest.reportsPaths="${TEST_RESULTS_PATH}/results .trx" \
32+ /d:sonar.cs.vstest.reportsPaths="${TEST_RESULTS_PATH}/tests .trx" \
3333 /d:sonar.cs.opencover.reportsPaths="${TEST_RESULTS_PATH}/coverage.xml"
34- - dotnet test -c Release -l:"trx;LogFileName=results .trx" / p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="TestResults /coverage.xml"
34+ - dotnet test -c Release -l:"trx;LogFileName=tests .trx" -r:"bin/" / p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="bin /coverage.xml"
3535 - dotnet publish -c Release
3636 - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"
You can’t perform that action at this time.
0 commit comments