forked from doronz88/pymobiledevice3
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (63 loc) · 2.56 KB
/
python-app.yml
File metadata and controls
69 lines (63 loc) · 2.56 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
59
60
61
62
63
64
65
66
67
68
69
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
pull_request:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: '! github.event.pull_request.draft'
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ 3.8, 3.9, "3.10", "3.11", "3.12" ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Lint with flake8
run: |
python -m pip install flake8
flake8 . --max-line-length=127
- name: Verify sorted imports
run: |
python -m pip install isort
isort . -m HANGING_INDENT -l 120 --check-only
- name: Test install
run: |
python -m pip install --upgrade pip
python -m pip install -U .
- name: Test show usage
run: |
python -m pymobiledevice3 --help
python -m pymobiledevice3 activation --help
python -m pymobiledevice3 afc --help
python -m pymobiledevice3 amfi --help
python -m pymobiledevice3 apps --help
python -m pymobiledevice3 backup2 --help
python -m pymobiledevice3 bonjour --help
python -m pymobiledevice3 companion --help
python -m pymobiledevice3 crash --help
python -m pymobiledevice3 developer --help
python -m pymobiledevice3 diagnostics --help
python -m pymobiledevice3 lockdown --help
python -m pymobiledevice3 mounter --help
python -m pymobiledevice3 notification --help
python -m pymobiledevice3 pcap --help
python -m pymobiledevice3 power-assertion --help
python -m pymobiledevice3 processes --help
python -m pymobiledevice3 profile --help
python -m pymobiledevice3 provision --help
python -m pymobiledevice3 remote --help
python -m pymobiledevice3 restore --help
python -m pymobiledevice3 springboard --help
python -m pymobiledevice3 syslog --help
python -m pymobiledevice3 usbmux --help
python -m pymobiledevice3 webinspector --help
python -m pymobiledevice3 version --help