Skip to content

Commit 3046182

Browse files
committed
exclude Msbuild_SourceLink() test on Linux
1 parent c6de2d0 commit 3046182

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/coverlet.integration.tests/DeterministicBuild.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System.Xml.Linq;
99
using Coverlet.Core;
1010
using Coverlet.Tests.Utils;
11+
using Coverlet.Tests.Xunit.Extensions;
1112
using Newtonsoft.Json;
1213
using Xunit;
1314
using Xunit.Abstractions;
@@ -132,7 +133,8 @@ public void Msbuild()
132133
// RunCommand("git", "clean -fdx", out _, out _, _testProjectPath);
133134
}
134135

135-
[Fact]
136+
[ConditionalFact]
137+
[SkipOnOS(OS.Linux, "Hung up on Linux")]
136138
public void Msbuild_SourceLink()
137139
{
138140
string testResultPath = Path.Join(_testResultsPath, ((ITest)_testMember!.GetValue(_output)!).DisplayName);

test/coverlet.tests.projectsample.aspmvcrazor/coverlet.tests.projectsample.aspmvcrazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<IsPackable>false</IsPackable>
77
<IsTestProject>false</IsTestProject>

0 commit comments

Comments
 (0)