-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[iOS] Fix SkipOnCI
attribute support on Apple mobile devices
#120671
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
base: main
Are you sure you want to change the base?
Conversation
…vironment variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the SkipOnCI
attribute support on Apple mobile devices by ensuring the appropriate environment variable is passed to test apps. The change allows xUnit to properly detect when tests are running in a CI environment on iOS-like platforms.
Key changes:
- Adds environment variable propagation to the xharness command for iOS-like test targets
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Description
Sets the environment variable used by xUnit to detect if a test is running in a CI environment. This enables the
SkipOnCI
attribute to work correctly on Apple mobile devices.Fixes dotnet/xharness#1473