mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
14 lines
349 B
C#
14 lines
349 B
C#
namespace Bit.Core.Test.AutoFixture.Attributes;
|
|
|
|
public sealed class CiSkippedTheory : Xunit.TheoryAttribute
|
|
{
|
|
private static bool IsGithubActions() => Environment.GetEnvironmentVariable("CI") != null;
|
|
public CiSkippedTheory()
|
|
{
|
|
if (IsGithubActions())
|
|
{
|
|
Skip = "Ignore during CI builds";
|
|
}
|
|
}
|
|
}
|