diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd40de8ca9..a5a45ad7c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,9 @@ jobs: with: dotnet-version: "8" + - uses: ilammy/msvc-dev-cmd@v1 # required by leafo/gh-actions-lua on Windows, no-op on Linux + - uses: leafo/gh-actions-lua@v11 + - name: Test run: dotnet test BizHawk.sln -c Release -p:ContinuousIntegrationBuild=true shell: pwsh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02932b6d4b..44b4b9a831 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -201,6 +201,7 @@ run_tests: - job: build_asms_release artifacts: false script: + - apt-get update && apt-get install liblua5.4-0 - Dist/BuildTestRelease.sh -v normal -p:TestProjTargetFrameworkOverride=net8.0 stage: test diff --git a/src/BizHawk.Tests/Client.Common/lua/LuaTests.cs b/src/BizHawk.Tests/Client.Common/lua/LuaTests.cs index 46c566cd03..901be11c32 100644 --- a/src/BizHawk.Tests/Client.Common/lua/LuaTests.cs +++ b/src/BizHawk.Tests/Client.Common/lua/LuaTests.cs @@ -8,13 +8,8 @@ using BizHawk.Client.Common; namespace BizHawk.Tests.Client.Common.Lua { -#if SKIP_PLATFORM_TESTS -#pragma warning disable MSTEST0004 // missing `[TestClass]` -#pragma warning disable MSTEST0030 // ditto -#else [DoNotParallelize] [TestClass] -#endif public class LuaTests { private static readonly NLua.Lua LuaInstance = new();