File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ test :
9+ name : Run tests (Python ${{ matrix.python-version }})
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ python-version : ["3.8", "3.12"]
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+
22+ - name : Install dependencies
23+ run : pip install .[test]
24+
25+ - name : Run pytest
26+ run : pytest
27+
28+ lint :
29+ name : Run lint
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+
34+ - name : Set up Python
35+ uses : actions/setup-python@v5
36+ with :
37+ python-version : 3.12
38+
39+ - name : Install dependencies for lint
40+ run : pip install .[test]
41+
42+ - name : Run make lint
43+ run : make lint
44+
You can’t perform that action at this time.
0 commit comments