Skip to content

Commit 355a0c1

Browse files
committed
SonarScanner
1 parent b4aac36 commit 355a0c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ before_build:
4343

4444
build_script:
4545
# Begin SonarScanner
46-
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & 'dotnet sonarscanner begin /k:"system.linq.dynamic.core" /d:sonar.organization="stefh-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%SONAR_TOKEN%" /v:"%APPVEYOR_BUILD_NUMBER%" /d:sonar.cs.opencover.reportsPaths="%CD%\coverage.xml"' }
46+
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"system.linq.dynamic.core" /d:sonar.organization="stefh-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%SONAR_TOKEN%" /v:"%APPVEYOR_BUILD_NUMBER%" /d:sonar.cs.opencover.reportsPaths="%CD%\coverage.xml" }'
4747

4848
# Build Code
4949
- dotnet build src\EntityFramework.DynamicLinq\EntityFramework.DynamicLinq.csproj -c %CONFIGURATION%
@@ -63,7 +63,7 @@ test_script:
6363
- cmd: '"OpenCover\tools\OpenCover.Console.exe" -target:dotnet.exe -targetargs:"test test\System.Linq.Dynamic.Core.Tests\System.Linq.Dynamic.Core.Tests.csproj --configuration %CONFIGURATION% --framework netcoreapp1.1 --no-build" -output:coverage.xml -register:user -filter:"+[Microsoft.EntityFrameworkCore.DynamicLinq]* +[System.Linq.Dynamic.Core]* -[*Tests*]*" -nodefaultfilters -returntargetcode -oldstyle'
6464
- codecov -f "coverage.xml"
6565
- coveralls.net\tools\csmacnz.Coveralls.exe --opencover -i .\coverage.xml
66-
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & 'dotnet sonarscanner end /d:sonar.login="%SONAR_TOKEN%"' }
66+
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner end /d:sonar.login="%SONAR_TOKEN%" }'
6767

6868
# Run tests for EntityFramework.DynamicLinq
6969
- dotnet test -c %CONFIGURATION% --no-build test\EntityFramework.DynamicLinq.Tests\EntityFramework.DynamicLinq.Tests.csproj

0 commit comments

Comments
 (0)