16 references to EnvironmentVariables
Aspire.Workload.Tests (16)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (14)
108BuiltNuGetsPath = Path.Combine(RepoRoot.FullName, "artifacts", "packages", EnvironmentVariables.BuildConfiguration, "Shipping"); 115if (string.IsNullOrEmpty(EnvironmentVariables.SdkForWorkloadTestingPath)) 120string? baseDir = Path.GetDirectoryName(EnvironmentVariables.SdkForWorkloadTestingPath); 128if (string.IsNullOrEmpty(EnvironmentVariables.BuiltNuGetsPath) || !Directory.Exists(EnvironmentVariables.BuiltNuGetsPath)) 130throw new ArgumentException($"Cannot find 'BUILT_NUGETS_PATH={EnvironmentVariables.BuiltNuGetsPath}' or {BuiltNuGetsPath}"); 132BuiltNuGetsPath = EnvironmentVariables.BuiltNuGetsPath; 171if (!string.IsNullOrEmpty(EnvironmentVariables.TestLogPath)) 173LogRootPath = Path.GetFullPath(EnvironmentVariables.TestLogPath); 191if (EnvironmentVariables.IsRunningOnCI) 226catch (IOException) when (!EnvironmentVariables.IsRunningOnCI) 266=> EnvironmentVariables.DefaultTFMForTesting?.ToLowerInvariant() switch 270_ => throw new ArgumentOutOfRangeException(nameof(EnvironmentVariables.DefaultTFMForTesting), EnvironmentVariables.DefaultTFMForTesting, "Invalid value")
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (2)
17if (forceShowBuildOutput || EnvironmentVariables.ShowBuildOutput) 27if (forceShowBuildOutput || EnvironmentVariables.ShowBuildOutput)