Skip to content

Commit

Permalink
chore: remove .NET 6 target from Snapshot.Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Oct 19, 2024
1 parent 73501b5 commit 23318fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/docfx.Snapshot.Tests/SamplesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ private class SamplesFactAttribute : FactAttribute
{
public SamplesFactAttribute()
{
// When target framework changed.
// It need to modify TargetFrameworks of `docfx.Snapshot.Tests.csproj`
#if !NET8_0
Skip = "Skip by target framework";
#endif
Expand Down
5 changes: 5 additions & 0 deletions test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Playwright" />
<PackageReference Include="Verify.DiffPlex" />
Expand Down

0 comments on commit 23318fa

Please sign in to comment.