Skip to content

Commit 0b0cb15

Browse files
authored
Merge branch 'master' into nightly
2 parents cd9f504 + b1c5dc2 commit 0b0cb15

File tree

3 files changed

+11
-23
lines changed

3 files changed

+11
-23
lines changed

Documentation/VSTestIntegration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ How to specify these options via runsettings?
5757
<Include>[coverlet.*]*,[*]Coverlet.Core*</Include> <!-- [Assembly-Filter]Type-Filter -->
5858
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
5959
<ExcludeByFile>../dir1/class1.cs,../dir2/*.cs,../dir3/**/*.cs,</ExcludeByFile> <!-- Absolute or relative file paths -->
60-
<IncludeDirectory>../dir1/*,../dir2/,</IncludeDirectory>
60+
<IncludeDirectory>../dir1/,../dir2/,</IncludeDirectory>
6161
<SingleHit>false</SingleHit>
6262
<UseSourceLink>true</UseSourceLink>
6363
</Configuration>
@@ -84,9 +84,9 @@ The proposed solution is implemented with the help of [datacollectors](https://g
8484
The datacollectors will be bundled as a separate NuGet package, the reference to which will be added by default in the .NET Core test templates, thus making it the default solution for collecting code coverage for .NET core projects.
8585
```
8686
<ItemGroup>
87-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
88-
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
89-
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
90-
<PackageReference Include="coverlet.collector" Version="1.0.0" />
87+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="x.x.x" />
88+
<PackageReference Include="MSTest.TestAdapter" Version="x.x.x" />
89+
<PackageReference Include="MSTest.TestFramework" Version="x.x.x" />
90+
<PackageReference Include="coverlet.collector" Version="1.0.0" />
9191
</ItemGroup>
9292
```

azure-pipelines.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ jobs:
1111
pool:
1212
vmImage: 'windows-2019'
1313
steps:
14-
- task: DotNetCoreInstaller@0
15-
inputs:
16-
version: '2.2.300'
17-
displayName: 'Install .NET Core SDK'
18-
- script: dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
19-
displayName: 'Run Build'
14+
- template: build.yml
2015

2116
- job: macOS
2217
displayName: macOS
@@ -30,12 +25,7 @@ jobs:
3025
pool:
3126
vmImage: 'macOS-10.14'
3227
steps:
33-
- task: DotNetCoreInstaller@0
34-
inputs:
35-
version: '2.2.300'
36-
displayName: 'Install .NET Core SDK'
37-
- script: dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
38-
displayName: 'Run Build'
28+
- template: build.yml
3929

4030
- job: Linux
4131
displayName: Linux
@@ -49,9 +39,4 @@ jobs:
4939
pool:
5040
vmImage: 'ubuntu-16.04'
5141
steps:
52-
- task: DotNetCoreInstaller@0
53-
inputs:
54-
version: '2.2.300'
55-
displayName: 'Install .NET Core SDK'
56-
- script: dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
57-
displayName: 'Run Build'
42+
- template: build.yml

build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
steps:
2+
- script: dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
3+
displayName: 'Run Build'

0 commit comments

Comments
 (0)