File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ jobs:
2424 with :
2525 enable-cache : true
2626 - name : Sync documentation dependencies
27- run : uv sync --locked --group doc
27+ run : uv sync --locked --only- group doc --no-install-project
2828 - name : Generate API reference stubs
2929 run : cargo run --bin stub_gen
3030 - name : Build documentation
31- run : uv run --locked --group doc zensical build --strict
31+ run : uv run --no-sync zensical build --strict
3232 - name : Upload Pages artifact
3333 if : ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
3434 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1616
1717jobs :
1818 python :
19- name : Python
19+ name : Python static checks
2020 runs-on : ubuntu-latest
2121 steps :
2222 - uses : actions/checkout@v4
@@ -26,12 +26,32 @@ jobs:
2626 - uses : astral-sh/setup-uv@v4
2727 with :
2828 enable-cache : true
29+ - name : Sync Python tooling
30+ run : uv sync --locked --only-group dev --no-install-project
31+ - name : Generate Python stubs
32+ run : cargo run --bin stub_gen
2933 - name : Ruff
30- run : uv run --locked ruff check .
34+ run : uv run --no-sync ruff check .
3135 - name : Pyright
32- run : uv run --locked pyright tests examples
36+ run : uv run --no-sync pyright tests examples
37+
38+ python-tests :
39+ name : Python tests
40+ runs-on : macos-14
41+ steps :
42+ - uses : actions/checkout@v4
43+ - uses : actions/setup-python@v5
44+ with :
45+ python-version : " 3.10"
46+ - uses : astral-sh/setup-uv@v4
47+ with :
48+ enable-cache : true
49+ - name : Sync Python tooling
50+ run : uv sync --locked --only-group dev --no-install-project
51+ - name : Build extension
52+ run : uv run --no-sync maturin develop
3353 - name : Python tests
34- run : uv run --locked python -m unittest discover
54+ run : uv run --no-sync python -m unittest discover
3555
3656 rust :
3757 name : Rust
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ module-name = "v8"
1919
2020[dependency-groups ]
2121dev = [
22+ " maturin>=1.13,<2.0" ,
2223 " pyright>=1.1.409" ,
2324 " ruff>=0.15.12" ,
2425]
You can’t perform that action at this time.
0 commit comments