We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3d8bd6 commit a2e9a23Copy full SHA for a2e9a23
1 file changed
Orm/Xtensive.Orm.Tests.Framework/TestInfo.cs
@@ -108,7 +108,7 @@ private static IEnumerable<T> GetMethodAttributes<T>() where T : Attribute
108
static TestInfo()
109
{
110
isBuildServer = Environment.GetEnvironmentVariable("TEAMCITY_VERSION") != null;
111
- isGithubActions = string.Equals(Environment.GetEnvironmentVariable("GITHUB_WORKSPACE"), "true", StringComparison.OrdinalIgnoreCase);
+ isGithubActions = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_WORKSPACE"));
112
noIgnoreOnGithubActions = isGithubActions && string.Equals(Environment.GetEnvironmentVariable("GA_NO_IGNORE"), "true", StringComparison.OrdinalIgnoreCase);
113
githubActionsTriggeredBy = TryParseGithubEventName(Environment.GetEnvironmentVariable("GITHUB_EVENT_NAME"));
114
}
0 commit comments