mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
17 lines
410 B
C#
17 lines
410 B
C#
using System;
|
|
|
|
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";
|
|
}
|
|
}
|
|
}
|
|
}
|