Implement Phase 1: XCResult parser library #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Xcode 26 | |
| run: sudo xcode-select -s /Applications/Xcode.app | |
| - name: Run Unit Tests | |
| run: swift test | |
| - name: Generate Test xcresult | |
| run: | | |
| cd TestFixtures/SampleProject | |
| xcodebuild test \ | |
| -scheme SampleProject \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16 Pro' \ | |
| -resultBundlePath ../../tmp/integration-test.xcresult \ | |
| || true # Allow test failures | |
| - name: Run Integration Tests | |
| run: swift test --filter IntegrationTests | |
| env: | |
| XCRESULT_PATH: tmp/integration-test.xcresult |