Repository navigation
58 lines (54 loc) · 1.94 KB
/
Copy pathci.yml
File metadata and controls
58 lines (54 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Tests
runs-on: macos-15
timeout-minutes: 25
env:
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Initialize selected Xcode
timeout-minutes: 5
run: /bin/bash scripts/prepare_ci_xcode.sh
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.13"
cache: pip
- name: Install project
run: |
python -m pip install --disable-pip-version-check --upgrade pip
python -m pip install --disable-pip-version-check --editable .
- name: Verify Apple-tool readiness
run: python -m scripts.verify_apple_tool_readiness
- name: Run test suite
run: python -m unittest discover -s tests -v
- name: Validate Python modules
run: python -m compileall -q ios_developer_toolkit tests
- name: Validate command entry points
run: |
python -m ios_developer_toolkit.collector --help
python -m ios_developer_toolkit.local_ddi --help
python -m ios_developer_toolkit.ipa_inspector --help
python -m ios_developer_toolkit --toolkit-internal-pymobiledevice3 version
- name: Verify guided command catalog
run: python scripts/verify_command_catalog.py
- name: Validate GUI actions
env:
QT_QPA_PLATFORM: offscreen
run: python -m ios_developer_toolkit --toolkit-internal-smoke-test
- name: Validate workspace layouts and themes
env:
QT_QPA_PLATFORM: offscreen
run: python -m ios_developer_toolkit --toolkit-internal-ui-check "$RUNNER_TEMP/ui-check"