Skip to content

Commit a86c8b6

Browse files
authored
Merge branch 'coverlet-coverage:master' into master
2 parents b108924 + 2e1e7da commit a86c8b6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

eng/build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,14 @@ steps:
2424
- script: dotnet restore -v n -s "https://api.nuget.org/v3/index.json"
2525
displayName: Restore packages
2626

27-
# - task: DotNetCoreCLI@2
28-
# displayName: Restore packages
29-
# inputs:
30-
# command: restore
31-
# projects: 'coverlet.sln'
32-
# feedsToUse: 'config'
33-
# nugetConfigPath: 'nuget.config'
34-
3527
- script: dotnet build -c $(BuildConfiguration) --no-restore -bl:build.msbuild.binlog
3628
displayName: Build
3729

3830
- script: dotnet pack -c $(BuildConfiguration) --no-restore
3931
displayName: Pack
4032

4133
- script: |
34+
dotnet build-server shutdown
4235
dotnet test test/coverlet.MTP.tests/coverlet.MTP.tests.csproj -c $(BuildConfiguration) --no-build -bl:test.MTP.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:ExcludeByAttribute="GeneratedCodeAttribute" --results-directory "$(Build.SourcesDirectory)/artifacts/reports/" --logger "trx;LogFileName=coverlet.MTP.tests.trx" --diag:"$(Build.SourcesDirectory)/artifacts/log/coverlet.MTP.tests.diag;tracelevel=verbose"
4336
dotnet test test/coverlet.core.tests/coverlet.core.tests.csproj -c $(BuildConfiguration) --no-build -bl:test.core.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Exclude="[coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]*" /p:ExcludeByAttribute="GeneratedCodeAttribute" --results-directory "$(Build.SourcesDirectory)/artifacts/reports/" --logger "trx;LogFileName=coverlet.core.tests.trx" --diag:"$(Build.SourcesDirectory)/artifacts/log/coverlet.core.tests.diag;tracelevel=verbose"
4437
dotnet test test/coverlet.core.coverage.tests/coverlet.core.coverage.tests.csproj -c $(BuildConfiguration) --no-build -bl:test.core.coverage.binlog /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Exclude="[coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.projectsample]*" /p:ExcludeByAttribute="GeneratedCodeAttribute" --results-directory "$(Build.SourcesDirectory)/artifacts/reports/" --logger "trx;LogFileName=coverlet.core.coverage.tests.trx" --diag:"$(Build.SourcesDirectory)/artifacts/log/coverlet.core.coverage.tests.diag;tracelevel=verbose"

0 commit comments

Comments
 (0)