File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ branches :
11+ - main
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
You can’t perform that action at this time.
0 commit comments