Skip to content

Commit a2e9a23

Browse files
committed
Fix wrong expected value of environment value
1 parent a3d8bd6 commit a2e9a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm.Tests.Framework/TestInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private static IEnumerable<T> GetMethodAttributes<T>() where T : Attribute
108108
static TestInfo()
109109
{
110110
isBuildServer = Environment.GetEnvironmentVariable("TEAMCITY_VERSION") != null;
111-
isGithubActions = string.Equals(Environment.GetEnvironmentVariable("GITHUB_WORKSPACE"), "true", StringComparison.OrdinalIgnoreCase);
111+
isGithubActions = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_WORKSPACE"));
112112
noIgnoreOnGithubActions = isGithubActions && string.Equals(Environment.GetEnvironmentVariable("GA_NO_IGNORE"), "true", StringComparison.OrdinalIgnoreCase);
113113
githubActionsTriggeredBy = TryParseGithubEventName(Environment.GetEnvironmentVariable("GITHUB_EVENT_NAME"));
114114
}

0 commit comments

Comments
 (0)