Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build netstandard2.0 libraries
run: |
dotnet build src/TextMateSharp/TextMateSharp.csproj --no-restore
dotnet build src/TextMateSharp.Grammars/TextMateSharp.Grammars.csproj --no-restore
- name: Build
run: dotnet build --no-restore
- name: Test
Expand Down
29 changes: 29 additions & 0 deletions .runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0">
<Configuration>
<CodeCoverage>
<ModulePaths>
<Include>
<ModulePath>.*\.dll$</ModulePath>
</Include>
<Exclude>
<ModulePath>.*Tests\.dll$</ModulePath>
<ModulePath>.*Demo\.dll$</ModulePath>
<!-- Standard system/third-party exclusions -->
<ModulePath>.*Microsoft\..*</ModulePath>
<ModulePath>.*System\..*</ModulePath>
<ModulePath>.*Moq\.dll$</ModulePath>
<ModulePath>.*nunit.*</ModulePath>
</Exclude>
</ModulePaths>

<!-- Standard practice to exclude the test projects themselves -->
<IncludeTestAssembly>False</IncludeTestAssembly>
</CodeCoverage>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>
1 change: 1 addition & 0 deletions TextMateSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TextMateSharp.Grammars", "s
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{FB55729C-1952-4D20-BFE7-C3202B160A0B}"
ProjectSection(SolutionItems) = preProject
.runsettings = .runsettings
build\Directory.Build.props = build\Directory.Build.props
build\SourceLink.props = build\SourceLink.props
EndProjectSection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading
Loading