Skip to content

Commit

Permalink
enable uitest and remove core3 uitest.
Browse files Browse the repository at this point in the history
  • Loading branch information
whistyun committed Nov 5, 2022
1 parent 04a2abe commit 3526d2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
env:
RUNON_GITHUB: yes
6 changes: 2 additions & 4 deletions tests/VisualTest/Class1.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if !OnGitHubAction
using NUnit.Framework;
using NUnit.Framework;
using System;
using System.Diagnostics;
using System.Drawing.Text;
Expand Down Expand Up @@ -123,5 +122,4 @@ public void Closing()
_process.Kill();
}
}
}
#endif
}
6 changes: 1 addition & 5 deletions tests/VisualTest/VisualTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.0;net462;net5.0-windows</TargetFrameworks>
<TargetFrameworks>net462;net5.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -25,8 +25,4 @@
</None>
</ItemGroup>

<PropertyGroup Condition=" '$(RUNON_GITHUB)' != '' ">
<DefineConstants>OnGitHubAction</DefineConstants>
</PropertyGroup>

</Project>

0 comments on commit 3526d2a

Please sign in to comment.