Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef94830

Browse filesBrowse files
committed
Add Mac CI github action
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent a611c60 commit ef94830
Copy full SHA for ef94830

File tree

Expand file treeCollapse file tree

1 file changed

+35
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+35
-0
lines changed

‎.github/workflows/test-ci-mac.yml

Copy file name to clipboard
+35Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test CI Mac
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+
pip install -e .[system_provided,testing]
33+
34+
- name: Run tests
35+
run: venv/bin/pytest -n 3 -vvs .

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.