-
Notifications
You must be signed in to change notification settings - Fork 76
53 lines (46 loc) · 1.1 KB
/
test-formula.yaml
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
name: Homebrew Tap CI
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
jobs:
test-formula:
strategy:
matrix:
os: [macos-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Update and verify Homebrew
run: |
brew update
brew doctor
brew tap --repair
- name: Install Homebrew dependencies
run: |
brew tap PX4/px4 "${GITHUB_WORKSPACE}"
brew install px4-dev
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --user \
pyserial \
empty \
toml \
numpy \
pandas \
jinja2 \
pyyaml \
pyros-genmsg \
packaging \
kconfiglib \
future \
jsonschema
- name: Run Homebrew test-bot
run: |
brew install brew-test-bot
brew test-bot --only-formulae Formula/*.rb