Skip to content

Commit 49b7466

Browse files
committed
Add workflow for mac testing
* TODO: we need to do a new release of the system provided plugins in order for this to work Signed-off-by: Jono Yang <[email protected]>
1 parent 0b6b354 commit 49b7466

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
9+
strategy:
10+
max-parallel: 4
11+
matrix:
12+
python-version: ["3.10"]
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Install system dependencies
24+
run: |
25+
brew update
26+
brew install p7zip libarchive libmagic
27+
28+
- name: Set up venv
29+
run: |
30+
python3 -m venv venv
31+
source venv/bin/activate
32+
cp setup-mini.cfg setup.cfg
33+
pip install -e .[system_provided,testing]
34+
35+
- name: Run tests
36+
run: venv/bin/pytest -n 3 -vvs .

0 commit comments

Comments
 (0)