From 5e3949e33f7eaebbb8a007c5e1340ac81f3544ac Mon Sep 17 00:00:00 2001 From: Dominion Date: Fri, 2 Jun 2023 10:56:36 -0400 Subject: [PATCH] Fix Linux actions builds --- tests/Tgstation.Server.Tests/Live/LiveTestingServer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Tests/Live/LiveTestingServer.cs b/tests/Tgstation.Server.Tests/Live/LiveTestingServer.cs index 62c4ceaa3e..d4fd75b758 100644 --- a/tests/Tgstation.Server.Tests/Live/LiveTestingServer.cs +++ b/tests/Tgstation.Server.Tests/Live/LiveTestingServer.cs @@ -88,8 +88,10 @@ namespace Tgstation.Server.Tests.Live // neither of these should really matter but it's better that we test them // high prio DD might help with some topic flakiness actually - HighPriorityDreamDaemon = true; - LowPriorityDeployments = true; + // github doesn't allow nicing though + bool runningInGitHubActions = !String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("GITHUB_RUN_ID")); + HighPriorityDreamDaemon = !runningInGitHubActions; + LowPriorityDeployments = !runningInGitHubActions; args = new List() {