mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-14 09:33:22 +01:00
These environment variables are preventing SDK detection from working properly under test. Delete them
This commit is contained in:
@@ -181,6 +181,10 @@ namespace Tgstation.Server.Tests.Live
|
||||
[ClassInitialize]
|
||||
public static async Task Initialize(TestContext _)
|
||||
{
|
||||
// Clear problematic environment variables
|
||||
Environment.SetEnvironmentVariable("MSBuildExtensionsPath", null);
|
||||
Environment.SetEnvironmentVariable("MSBuildSDKsPath", null);
|
||||
|
||||
if (TestingUtils.RunningInGitHubActions || String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS_TEST_GITHUB_TOKEN")))
|
||||
await TestingGitHubService.InitializeAndInject(default);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user