Skip to content

Commit

Permalink
Limit test to windows because 'git branch --get-current' returns empt…
Browse files Browse the repository at this point in the history
…y due to a possible detached head status on linux
  • Loading branch information
daniel-romano-DD committed Dec 23, 2024
1 parent ecd5181 commit 20cf3d9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public XUnitImpactedTests(ITestOutputHelper output)
[MemberData(nameof(PackageVersions.XUnit), MemberType = typeof(PackageVersions))]
[Trait("Category", "EndToEnd")]
[Trait("Category", "TestIntegrations")]
[Trait("RunOnWindows", "True")]
public Task BaseShaFromPr(string packageVersion)
{
InjectGitHubActionsSession();
Expand All @@ -43,6 +44,7 @@ public Task BaseShaFromPr(string packageVersion)
[MemberData(nameof(PackageVersions.XUnit), MemberType = typeof(PackageVersions))]
[Trait("Category", "EndToEnd")]
[Trait("Category", "TestIntegrations")]
[Trait("RunOnWindows", "True")]
public Task BaseShaFromBackend(string packageVersion)
{
InjectGitHubActionsSession(false);
Expand All @@ -53,6 +55,7 @@ public Task BaseShaFromBackend(string packageVersion)
[MemberData(nameof(PackageVersions.XUnit), MemberType = typeof(PackageVersions))]
[Trait("Category", "EndToEnd")]
[Trait("Category", "TestIntegrations")]
[Trait("RunOnWindows", "True")]
public Task FilesFromBackend(string packageVersion)
{
InjectGitHubActionsSession(false);
Expand All @@ -73,6 +76,7 @@ public Task FilesFromBackend(string packageVersion)
[MemberData(nameof(PackageVersions.XUnit), MemberType = typeof(PackageVersions))]
[Trait("Category", "EndToEnd")]
[Trait("Category", "TestIntegrations")]
[Trait("RunOnWindows", "True")]
public Task DisabledByConfig(string packageVersion)
{
InjectGitHubActionsSession();
Expand All @@ -98,6 +102,7 @@ public Task DisabledByConfig(string packageVersion)
[MemberData(nameof(PackageVersions.XUnit), MemberType = typeof(PackageVersions))]
[Trait("Category", "EndToEnd")]
[Trait("Category", "TestIntegrations")]
[Trait("RunOnWindows", "True")]
public Task DisabledByEnvVar(string packageVersion)
{
InjectGitHubActionsSession();
Expand Down

0 comments on commit 20cf3d9

Please sign in to comment.