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

Format tests should be skipped on Alpine #17268

Merged

Conversation

NikolaMilosavljevic
Copy link
Member

The following PR enabled skipping Format tests on Alpine, if an environment variable is set: #17247

However, this is not a good experience for anyone building and testing on Alpine. See this for more context: #17247 (comment)

A better experience is to not execute the test on Alpine, by utilizing Config.TargetRid and return from test method early. This would mark the test as Passed.

Even better experience would be to really skip the test dynamically, however we do not support XUnit v3, which provides SkipWhen method: https://github.com/xunit/xunit/blob/main/src/xunit.v3.assert.tests/Asserts/SkipAssertsTests.cs

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team as a code owner August 28, 2023 15:51
@NikolaMilosavljevic NikolaMilosavljevic merged commit 6bbadb9 into dotnet:release/8.0.1xx Aug 28, 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.

2 participants