-
-
Notifications
You must be signed in to change notification settings - Fork 81
42 lines (37 loc) · 1.11 KB
/
install-adb-enhanced-from-pip.yml
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
name: Install adb-enhanced via pip
on:
schedule:
- cron: "0 0 * * 0" # Sunday midnight UTC
workflow_dispatch:
push:
branches: [master, main]
paths:
- ".github/workflows/install-adb-enhanced-from-pip.yml"
pull_request:
branches: [master, main]
paths:
- ".github/workflows/install-adb-enhanced-from-pip.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
installViaPip:
runs-on: macos-latest
timeout-minutes: 15
strategy:
matrix:
# A dependency, psutil, fails to install on Python 3.9
# https://github.com/ashishb/adb-enhanced/actions/runs/4309805993/jobs/7517607875
python-version: ["3.8", "3.11"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install adb-enhanced from pip
run: |
sudo pip install adb-enhanced
adbe --version
sudo pip uninstall -y adb-enhanced