Add CI workflow to build and test on pull requests#41
Conversation
Adds a GitHub Actions workflow that resolves dependencies, builds the package for an iOS Simulator, and runs the unit tests on every pull request and push to main, with SwiftPM caching.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8803df251b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| xcodebuild test \ | ||
| -scheme Yemma4 \ |
There was a problem hiding this comment.
Use build until the scheme has tests
This xcodebuild test step is wired to the current Yemma4 scheme, but that scheme's TestAction has no testables and project.pbxproj contains only the app PBXNativeTarget (no XCTest/Swift Testing bundle). In this state xcodebuild test is not a valid CI action for the scheme, so every PR/push run will fail before proving the app builds; add a test target to the scheme or run xcodebuild build until tests exist.
Useful? React with 👍 / 👎.
Adds a GitHub Actions workflow that resolves dependencies, builds the package for an iOS Simulator, and runs the unit tests on every pull request and push to main, with SwiftPM caching.