File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,25 @@ jobs:
3030 with :
3131 python-version : ${{ matrix.python-version }}
3232 cache : ' pip'
33+ - name : Setup venv
34+ run : |
35+ python -m venv .venv
3336 - uses : actions/cache@v4
3437 with :
3538 path : .venv
3639 key : ${{ runner.os }}-pythonenv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
3740 restore-keys : |
3841 ${{ runner.os }}-pythonenv-${{ matrix.python-version }}-
39- - name : Python build & test
42+ - name : Install toolchains
4043 run : |
41- python -m venv .venv
4244 source .venv/bin/activate
43- pip install maturin pytest
45+ pip install maturin pytest mypy
46+ - name : Build
47+ run : |
4448 maturin develop
49+ - name : Type check
50+ run : |
51+ mypy python
52+ - name : Test
53+ run : |
4554 pytest python/cocoindex/tests
You can’t perform that action at this time.
0 commit comments