fix: improve large text surface discovery and reads (#261) #24
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: macOS | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration-macos: | |
| name: Integration Tests | |
| runs-on: macos-26 | |
| timeout-minutes: 80 | |
| continue-on-error: true | |
| env: | |
| AGENT_DEVICE_DAEMON_TIMEOUT_MS: '300000' | |
| AGENT_DEVICE_IOS_APP_LAUNCH_TIMEOUT_MS: '60000' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup toolchain | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Resolve agent-device home | |
| id: macos-agent-home | |
| run: echo "dir=$HOME/.agent-device" >> "$GITHUB_OUTPUT" | |
| - name: Build macOS XCTest runner | |
| run: pnpm build:xcuitest:macos | |
| - name: Build macOS helper | |
| run: pnpm build:macos-helper | |
| - name: Run macOS integration test | |
| run: node --test test/integration/macos.test.ts | |
| - name: Upload macOS artifacts | |
| if: always() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: macos-artifacts | |
| if-no-files-found: ignore | |
| path: | | |
| ${{ steps.macos-agent-home.outputs.dir }}/daemon.log | |
| ${{ steps.macos-agent-home.outputs.dir }}/sessions/** | |
| test/artifacts/** | |
| test/screenshots/** |