Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ private void AssertAdmin()
ignore = true;
Assert.Ignore("This test case only valid when running as admin");
}

bool isGitHubActions = Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
if (isGitHubActions)
{
ignore = true;
Assert.Ignore("This test case is flaky on GitHub Actions even when running as admin");
}
}
catch (SecurityException)
{
Expand Down