We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b6b354 commit 49b7466Copy full SHA for 49b7466
.github/workflows/test-apple-silicon.yml
@@ -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
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