Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip BasicScenarioTests.cs and WebScenarioTests.cs for PublishComplex action #17313

Merged
merged 8 commits into from
Sep 12, 2023

Conversation

Swapnali911
Copy link

@Swapnali911 Swapnali911 commented Sep 6, 2023

Fixes #3614
This PR is to skip BasicScenarioTests.cs and WebScenarioTests.cs test cases for ppc64le and s390x arch.

@Swapnali911 Swapnali911 requested a review from a team as a code owner September 6, 2023 07:40
return false;
}
else
return true;
Copy link
Member

@MichaelSimons MichaelSimons Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: inconsistent brace style with if body.

Suggested change
return true;
{
return true;
}

This could be simplified this to use an expression bodied method.

public static bool ShouldPublishComplex() =>
    string.Equals(Config.TargetArchitecture,"ppc64le") || string.Equals(Config.TargetArchitecture,"s390x"); 

@MichaelSimons MichaelSimons merged commit f86248e into dotnet:release/8.0.1xx Sep 12, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants