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+ version : 2
2+ updates :
3+ - package-ecosystem : " pip"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ commit-message :
8+ prefix : " chore(deps)"
9+
10+ - package-ecosystem : " github-actions"
11+ directory : " /"
12+ schedule :
13+ interval : " weekly"
14+ commit-message :
15+ prefix : " chore(ci)"
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - uses : actions/setup-python@v5
19+ with :
20+ python-version : " 3.12"
21+ cache : pip
22+
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install -r requirements.txt
27+ pip install ruff
28+
29+ - name : Ruff check
30+ run : ruff check .
31+
32+ - name : Ruff format check
33+ run : ruff format --check .
34+
35+ test :
36+ runs-on : ubuntu-latest
37+ strategy :
38+ matrix :
39+ python-version : ["3.10", "3.11", "3.12", "3.13"]
40+ steps :
41+ - uses : actions/checkout@v4
42+
43+ - uses : actions/setup-python@v5
44+ with :
45+ python-version : ${{ matrix.python-version }}
46+ cache : pip
47+
48+ - name : Install dependencies
49+ run : |
50+ python -m pip install --upgrade pip
51+ pip install -r requirements.txt
52+ pip install pytest
53+
54+ - name : Run tests
55+ run : pytest -v
You can’t perform that action at this time.
0 commit comments