File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 - cmd : dotnet --version
3535 # install the tools
3636 - ps : ' if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet tool install -g dotnet-sonarscanner }'
37- - cmd : dotnet tool install -g minicover
37+ # disable minicover
38+ # - cmd: dotnet tool install -g minicover
3839
3940skip_commits :
4041 files :
@@ -53,33 +54,37 @@ build_script:
5354 # Begin SonarScanner
5455 - ps : ' if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner begin /k:"HealthChecks.Extensions" /o:adrianiftode-github /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:SONAR_TOKEN" /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="opencovercoverage.xml" /d:sonar.coverage.exclusions=test/** /d:sonar.scanner.force-deprecated-java-version=true}'
5556 - dotnet build -c %CONFIGURATION% /p:Version=%APPVEYOR_BUILD_VERSION%
56- - minicover instrument
57+ # disable minicover
58+ # - minicover instrument
5759
5860test_script :
5961 - dotnet test --no-restore --no-build
6062
6163after_test :
6264 - dotnet pack --no-build --include-symbols -c %CONFIGURATION% /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
63- - minicover uninstrument
64- - minicover opencoverreport
65+ # disable minicover
66+ # - minicover uninstrument
67+ # - minicover opencoverreport
6568 # will fail when the test coverage is lower than the threshold
66- - minicover report --threshold 90
69+ # - minicover report --threshold 90
6770 - ps : ' if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner end /d:sonar.login="$env:SONAR_TOKEN" }'
71+
6872artifacts :
6973 - path : ' **\*.nupkg'
7074 name : NuGet
75+
7176deploy :
7277 - provider : NuGet
7378 api_key :
7479 secure : i1i67C8dR8UJ/KvlIHBjgJgWJ6GwzcmI/FqJSvFwL7e/1ECRF+jepJLlOVkMJ7L9
75- artifact : /.*\.nupkg/
80+ artifact : /.*HealthChecks.* \.nupkg/
7681 on :
7782 APPVEYOR_REPO_TAG : true
7883
7984 - provider : GitHub
8085 release : $(APPVEYOR_BUILD_VERSION)
8186 auth_token :
8287 secure : P+6gIjiImV5sA83zi7YADnA09ftvhf/pwIgMXH15GLYXZDFKoHTnQIG/QiuaUd8f
83- artifact : /.*\.nupkg/
88+ artifact : /.*HealthChecks.* \.nupkg/
8489 on :
8590 APPVEYOR_REPO_TAG : true
You can’t perform that action at this time.
0 commit comments