Tell GitLab CI to continue running tests in .NET 8

fixes afc181c40
sort of defeats the purpose, but hey it was working before, and
compilation errors will still be caught automatically
This commit is contained in:
YoshiRulz 2024-05-15 10:34:44 +10:00
parent 3dafbe0f42
commit 66e6aa7eb8
2 changed files with 4 additions and 2 deletions

View File

@ -201,8 +201,7 @@ run_tests:
- job: build_asms_release - job: build_asms_release
artifacts: false artifacts: false
script: script:
- Dist/BuildDebug.sh # populate output - Dist/BuildTestRelease.sh -v normal -p:TestProjTargetFrameworkOverride=net8.0
- Dist/BuildTestRelease.sh -v normal
stage: test stage: test
.disabled_job_sast: .disabled_job_sast:

View File

@ -5,6 +5,9 @@
<OutputPath>$(ProjectDir)../../test_output</OutputPath> <OutputPath>$(ProjectDir)../../test_output</OutputPath>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(TestProjTargetFrameworkOverride)' != '' AND '$(TargetFramework)' == 'net48' ">
<TargetFramework>$(TestProjTargetFrameworkOverride)</TargetFramework>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="MSTest" PrivateAssets="all" /> <PackageReference Include="MSTest" PrivateAssets="all" />
<PackageReference Include="JunitXml.TestLogger" PrivateAssets="all" /> <PackageReference Include="JunitXml.TestLogger" PrivateAssets="all" />