diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac273db5..bb3fb6b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,6 +156,11 @@ jobs: --logger "trx;LogFileName=ecs-arch-$RANDOM.trx" \ --results-directory TestResults & + dotnet test GFramework.Godot.Tests \ + -c Release \ + --no-build \ + --logger "trx;LogFileName=godot-$RANDOM.trx" \ + --results-directory TestResults & # 等待所有后台测试完成 wait diff --git a/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs b/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs index 3f46fb1b..752310f8 100644 --- a/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs +++ b/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using GFramework.Godot.Coroutine; +using NUnit.Framework; namespace GFramework.Godot.Tests.Coroutine; diff --git a/GFramework.Godot/Coroutine/Timing.cs b/GFramework.Godot/Coroutine/Timing.cs index 774bfcc1..d8913a7e 100644 --- a/GFramework.Godot/Coroutine/Timing.cs +++ b/GFramework.Godot/Coroutine/Timing.cs @@ -1,5 +1,8 @@ using System.Reflection; using GFramework.Core.Abstractions.Coroutine; +using GFramework.Core.Coroutine; +using GFramework.Core.Coroutine.Instructions; +using GFramework.Godot.Extensions; namespace GFramework.Godot.Coroutine; diff --git a/GFramework.Godot/GlobalUsings.cs b/GFramework.Godot/GlobalUsings.cs index 4d271811..41d45db7 100644 --- a/GFramework.Godot/GlobalUsings.cs +++ b/GFramework.Godot/GlobalUsings.cs @@ -15,4 +15,5 @@ global using System; global using System.Collections.Generic; global using System.Linq; global using System.Threading; -global using System.Threading.Tasks; \ No newline at end of file +global using System.Threading.Tasks; +global using Godot; \ No newline at end of file