From 3db9977c191372c2fc1938405bfa556e0edcd439 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Tue, 29 Jul 2025 23:07:29 -0400 Subject: [PATCH] Put in some logging and call it a night --- tests/Tgstation.Server.Tests/TestingUtils.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Tests/TestingUtils.cs b/tests/Tgstation.Server.Tests/TestingUtils.cs index a6a6683f36..9807e1999c 100644 --- a/tests/Tgstation.Server.Tests/TestingUtils.cs +++ b/tests/Tgstation.Server.Tests/TestingUtils.cs @@ -4,7 +4,6 @@ using System.IO; using System.IO.Abstractions; using System.IO.Compression; using System.Linq; -using System.Net.Http; using System.Reflection; using System.Text; using System.Threading; @@ -24,7 +23,13 @@ namespace Tgstation.Server.Tests { static class TestingUtils { - public static bool RunningInGitHubActions { get; } = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("GITHUB_RUN_ID")); + static TestingUtils() + { + RunningInGitHubActions = !string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("GITHUB_RUN_ID")); + System.Console.WriteLine($"RunningInGitHubAction: {RunningInGitHubActions}"); + } + + public static bool RunningInGitHubActions { get; } public static ILoggerFactory CreateLoggerFactoryForLogger(ILogger logger, out Mock mockLoggerFactory) {