Skip to content

Add Tuist support for Example project#865

Open
Kyle-Ye wants to merge 4 commits into
mainfrom
feature/example_tuist
Open

Add Tuist support for Example project#865
Kyle-Ye wants to merge 4 commits into
mainfrom
feature/example_tuist

Conversation

@Kyle-Ye
Copy link
Copy Markdown
Collaborator

@Kyle-Ye Kyle-Ye commented May 17, 2026

Summary

  • Replace the checked-in Example Xcode project with a Tuist-generated project definition.
  • Model the existing Example, HostingExample, TestingHost, and UI test schemes in Example/Project.swift.
  • Add Example-specific Tuist dependency configuration, mise tooling, and README setup instructions.
  • Move UI test Xcode/mise/Tuist/build-environment setup into the reusable uitests composite action.

Notes

@Kyle-Ye
Copy link
Copy Markdown
Collaborator Author

Kyle-Ye commented May 17, 2026

/uitest macos

@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented May 17, 2026

🤖 Augment PR Summary

Summary: This PR migrates the checked-in Example Xcode project to a Tuist-generated project setup and updates CI to generate the workspace before running snapshot/UI tests.

Changes:

  • Moves UI test workflow setup (Xcode selection + build environment prep) into the reusable .github/actions/uitests composite action.
  • Adds an xcode-version input to the UI test composite action and wires it through the workflow matrix.
  • Replaces the committed Example.xcodeproj + shared schemes with a Tuist manifest (Example/Project.swift) modeling Example/HostingExample/TestingHost and test schemes.
  • Adds a Tuist dependency package (Example/Tuist/Package.swift) and relocates Package.resolved under Example/Tuist.
  • Adds Example-specific mise/Tuist configuration and updates the Example README with new setup + generation steps.
  • Adds Example/.gitignore to ignore Tuist-generated Xcode projects/workspaces and build artifacts.

Technical Notes: CI now installs Tuist via mise, runs tuist install/tuist generate in Example/, then executes the existing xcodebuild test schemes for snapshot comparisons.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread .github/actions/uitests/action.yml
Comment thread Example/mise.toml
Comment thread Example/Project.swift
@codecov
Copy link
Copy Markdown

codecov Bot commented May 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.80%. Comparing base (850f032) to head (1d11a95).
⚠️ Report is 1 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (850f032) and HEAD (1d11a95). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (850f032) HEAD (1d11a95)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #865       +/-   ##
===========================================
- Coverage   25.72%   13.80%   -11.92%     
===========================================
  Files         677      637       -40     
  Lines       47008    41270     -5738     
===========================================
- Hits        12091     5697     -6394     
- Misses      34917    35573      +656     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye Kyle-Ye force-pushed the feature/example_tuist branch from 67fe1b8 to 70f6e5a Compare May 17, 2026 17:57
@Kyle-Ye
Copy link
Copy Markdown
Collaborator Author

Kyle-Ye commented May 17, 2026

/uitest macos

@Kyle-Ye Kyle-Ye force-pushed the feature/example_tuist branch from 70f6e5a to c15bbc1 Compare May 17, 2026 18:44
@Kyle-Ye
Copy link
Copy Markdown
Collaborator Author

Kyle-Ye commented May 17, 2026

/uitest macos

1 similar comment
@Kyle-Ye
Copy link
Copy Markdown
Collaborator Author

Kyle-Ye commented May 17, 2026

/uitest macos

@Kyle-Ye Kyle-Ye force-pushed the feature/example_tuist branch from dad9be8 to 1d6e1a7 Compare May 17, 2026 20:08
@Kyle-Ye
Copy link
Copy Markdown
Collaborator Author

Kyle-Ye commented May 17, 2026

/uitest macos

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.

1 participant