Skip to content

Conversation

heoblitz
Copy link
Contributor

What is this PR?

Fix CI Failures and Improve Test Code.

  1. The runner image uses the latest version, but since Xcode 13 is not available, the CI fails.
    → Specify the macOS version and manage test devices using environment variables.

  2. Currently, the tests depend on the iPhone SE device.
    → Improved the test code to ensure that tests work correctly on devices with different top and bottom safe areas.

jobs:
CI:
runs-on: macos-latest

runs-on: macos-15
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update the CI Xcode version to 16.4.

# -scheme PinLayout-macOS \
# -sdk macosx \
# -destination "platform=macOS,name=Any Mac" \
# | xcpretty
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test compilation fails with the current project structure. For now, I have fixed the existing test code to make it work, but further improvements should be addressed in a separate PR.

Copy link
Member

@lucdion lucdion left a comment

Choose a reason for hiding this comment

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

Once you have fixed already identified issues, it is very good improvement 👏

@heoblitz
Copy link
Contributor Author

I’ll fix the identified issues and also include Mac and tvOS tests in this PR 👍

Copy link
Member

@lucdion lucdion left a comment

Choose a reason for hiding this comment

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

🎉

@lucdion lucdion merged commit 39dd754 into layoutBox:master Jul 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants