File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212jobs :
1313 lint :
1414 runs-on : ubuntu-latest
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ python-version : ["3.9", "3.10", "3.11", "3.12"]
1519
1620 steps :
1721 - uses : actions/checkout@v3
1822
19- - name : Install Python 3
20- uses : actions /setup-python@v3
23+ - name : Install uv
24+ uses : astral-sh /setup-uv@v5
2125 with :
22- python-version : " 3.11 "
26+ python-version : ${{ matrix.python-version }}
2327
24- - name : Install dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install -r requirements.txt
28+ - name : Check lockfile
29+ run : uv lock --check
2830
2931 - name : Run mypy
30- run : uv run mypy .
32+ run : mypy ocu/**/*.py tests/*.py
3133
3234 - name : Run ruff
33- run : |
34- uv run ruff check .
35- uv run ruff format --check .
35+ run : uv run ruff check .
36+ run : uv run ruff format --check .
You can’t perform that action at this time.
0 commit comments