File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 branches : [ "main" ]
99
1010jobs :
11- build :
12-
11+ test :
1312 runs-on : ubuntu-latest
1413 strategy :
1514 fail-fast : false
@@ -18,18 +17,23 @@ jobs:
1817
1918 steps :
2019 - uses : actions/checkout@v4
21- - name : Install uv and set the python version
22- uses : astral-sh/setup-uv@v6
20+ - uses : astral-sh/setup-uv@v6
2321 with :
2422 python-version : ${{ matrix.python-version }}
2523 enable-cache : true
26-
2724 - name : Setup
2825 run : |
2926 uv sync
30- - name : Lint
31- run : |
32- ruff check
3327 - name : Test
3428 run : |
3529 pytest
30+
31+ lint :
32+ runs-on : ubuntu-latest
33+
34+ steps :
35+ - uses : actions/checkout@v4
36+ - uses : astral-sh/setup-uv@v6
37+ - name : Lint
38+ run : |
39+ uvx ruff check
Original file line number Diff line number Diff line change @@ -10,3 +10,9 @@ dependencies = []
1010[build-system ]
1111requires = [" uv-build>=0.8.2" ]
1212build-backend = " uv_build"
13+
14+ [dependency-groups ]
15+ dev = [
16+ " pytest>=8.4.1" ,
17+ " ruff>=0.12.4" ,
18+ ]
Original file line number Diff line number Diff line change 1+ import runtime_docstrings
2+
3+
4+ def test_import ():
5+ assert runtime_docstrings
You can’t perform that action at this time.
0 commit comments