Skip to content

Add xcodebuild test CI snippet#33

Merged
prog-time merged 4 commits into
mainfrom
issues-18
Apr 23, 2026
Merged

Add xcodebuild test CI snippet#33
prog-time merged 4 commits into
mainfrom
issues-18

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a Swift/iOS test runner snippet to the tests category, parallel to cargo_test, pytest, and rspec. The job runs on macos-latest because xcodebuild is macOS-only.

Changes

  • scripts/shell/tests/xcodebuild_test.sh — bash runner: guards xcodebuild/xcpretty, detects a single *.xcworkspace/*.xcodeproj, resolves the scheme (env SCHEME → basename), runs xcodebuild test | xcpretty.
  • scripts/CI/tests/xcodebuild_test.yml — source snippet: runs-on: macos-latest, actions/checkout@v4, maxim-lobanov/setup-xcode@v1, gem install xcpretty, then the runner.
  • CI/tests/xcodebuild_test.yml — assembled output.
  • tests/tests/xcodebuild_test.bats — structural tests: no-project → exit 1, multiple workspaces → exit 1. xcodebuild/xcpretty are stubbed on PATH.
  • README.md — new row in the tests table with the macos-latest note, plus entries in the file tree and appendix.

Closes #18

@prog-time prog-time merged commit 4dcb0df into main Apr 23, 2026
5 checks passed
@prog-time prog-time deleted the issues-18 branch April 23, 2026 06:42
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.

[FEATURE] Add xcodebuild test CI snippet

1 participant