Let `LuaTests` run in CI
This commit is contained in:
parent
164a89aaf6
commit
77b4507ad3
|
@ -42,6 +42,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
dotnet-version: "8"
|
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
|
- name: Test
|
||||||
run: dotnet test BizHawk.sln -c Release -p:ContinuousIntegrationBuild=true
|
run: dotnet test BizHawk.sln -c Release -p:ContinuousIntegrationBuild=true
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
|
@ -201,6 +201,7 @@ run_tests:
|
||||||
- job: build_asms_release
|
- job: build_asms_release
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
|
- apt-get update && apt-get install liblua5.4-0
|
||||||
- Dist/BuildTestRelease.sh -v normal -p:TestProjTargetFrameworkOverride=net8.0
|
- Dist/BuildTestRelease.sh -v normal -p:TestProjTargetFrameworkOverride=net8.0
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,8 @@ using BizHawk.Client.Common;
|
||||||
|
|
||||||
namespace BizHawk.Tests.Client.Common.Lua
|
namespace BizHawk.Tests.Client.Common.Lua
|
||||||
{
|
{
|
||||||
#if SKIP_PLATFORM_TESTS
|
|
||||||
#pragma warning disable MSTEST0004 // missing `[TestClass]`
|
|
||||||
#pragma warning disable MSTEST0030 // ditto
|
|
||||||
#else
|
|
||||||
[DoNotParallelize]
|
[DoNotParallelize]
|
||||||
[TestClass]
|
[TestClass]
|
||||||
#endif
|
|
||||||
public class LuaTests
|
public class LuaTests
|
||||||
{
|
{
|
||||||
private static readonly NLua.Lua LuaInstance = new();
|
private static readonly NLua.Lua LuaInstance = new();
|
||||||
|
|
Loading…
Reference in New Issue