We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a006c2 commit 8d6fb88Copy full SHA for 8d6fb88
1 file changed
.github/workflows/pytest-mac.yml
@@ -0,0 +1,39 @@
1
+name: pytest-mac
2
+
3
+on:
4
+ # Trigger the workflow on push or pull request,
5
+ # but only for the main branch
6
+ push:
7
+ branches:
8
+ - main
9
+ pull_request:
10
11
12
13
+jobs:
14
+ pytest:
15
+ runs-on: macos-latest
16
17
+ strategy:
18
+ matrix:
19
+ python-version: ["3.11", "3.12"]
20
21
+ steps:
22
+ - uses: actions/checkout@v4
23
24
+ - name: Install Python ${{ matrix.python-version }}
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: ${{ matrix.python-version }}
28
+ cache: "pip"
29
30
+ - name: Install dependencies
31
+ run: |
32
+ python -m pip install --upgrade pip
33
+ pip install -r requirements.txt
34
35
+ - name: Install pyro
36
+ run: pip install .
37
38
+ - name: Run tests with pytest
39
+ run: pytest -v --nbval --color=yes
0 commit comments