mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-26 02:09:24 +01:00
exclude non-MLEM projects from coverage
This commit is contained in:
parent
5266d00796
commit
2627736283
2 changed files with 14 additions and 1 deletions
12
Tests/Tests.runsettings
Normal file
12
Tests/Tests.runsettings
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<RunSettings>
|
||||
<DataCollectionRunSettings>
|
||||
<DataCollectors>
|
||||
<DataCollector friendlyName="XPlat Code Coverage">
|
||||
<Configuration>
|
||||
<Exclude>[FNA]*,[FontStashSharp.FNA]*,[Tests*]*</Exclude>
|
||||
</Configuration>
|
||||
</DataCollector>
|
||||
</DataCollectors>
|
||||
</DataCollectionRunSettings>
|
||||
</RunSettings>
|
|
@ -32,7 +32,8 @@ Task("Build").IsDependentOn("Prepare").Does(() =>{
|
|||
Task("Test").IsDependentOn("Build").Does(() => {
|
||||
var settings = new DotNetTestSettings {
|
||||
Configuration = config,
|
||||
Collectors = {"XPlat Code Coverage"}
|
||||
Collectors = {"XPlat Code Coverage"},
|
||||
Settings = "Tests/Tests.runsettings"
|
||||
};
|
||||
DotNetTest("MLEM.sln", settings);
|
||||
DotNetTest("MLEM.FNA.sln", settings);
|
||||
|
|
Loading…
Reference in a new issue