|
8 | 8 |
|
9 | 9 | jobs: |
10 | 10 | pyright: |
| 11 | + name: "Pyright" |
11 | 12 | runs-on: ubuntu-latest |
12 | 13 | steps: |
13 | 14 | - uses: actions/checkout@v6 |
14 | 15 |
|
15 | | - - name: Set up Python 3.12 |
| 16 | + - name: Set up Python 3.11 |
16 | 17 | uses: actions/setup-python@v6 |
17 | 18 | with: |
18 | | - python-version: "3.12" |
| 19 | + python-version: "3.11" |
19 | 20 |
|
20 | | - - name: Install uv and create venv |
21 | | - run: | |
22 | | - pipx install uv |
23 | | - uv venv .venv |
| 21 | + - name: Install uv |
| 22 | + run: pipx install uv |
24 | 23 |
|
25 | | - - name: Install dependencies |
26 | | - run: | |
27 | | - source .venv/bin/activate |
28 | | - uv pip install -e ".[process,index,rag,api,cpu,dev,websearch]" |
| 24 | + - name: Install base dependencies |
| 25 | + run: uv venv .venv && source .venv/bin/activate && uv pip install -e ".[process,index,rag,api,tui,cpu,dev,websearch]" |
29 | 26 |
|
30 | | - - name: Run Pyright |
| 27 | + - name: Run Pyright (base) |
31 | 28 | continue-on-error: true |
32 | | - run: | |
33 | | - source .venv/bin/activate |
34 | | - pyright |
| 29 | + run: source .venv/bin/activate && pyright --project pyrightconfig.json |
35 | 30 |
|
36 | | - - name: Install dependencies - colvision |
37 | | - run: | |
38 | | - uv venv .venv-colvision |
39 | | - source .venv-colvision/bin/activate |
40 | | - uv pip install -e ".[colvision,cpu,dev]" |
| 31 | + - name: Install colvision dependencies |
| 32 | + run: uv venv .venv-colvision && source .venv-colvision/bin/activate && uv pip install -e ".[colvision,tui,cpu,dev]" |
41 | 33 |
|
42 | | - - name: Run Pyright - colvision |
| 34 | + - name: Run Pyright (colvision) |
43 | 35 | continue-on-error: true |
44 | | - run: | |
45 | | - source .venv-colvision/bin/activate |
46 | | - pyright src/mmore/colvision |
| 36 | + run: source .venv-colvision/bin/activate && pyright --project .github/pyright/pyrightconfig.colvision.json |
0 commit comments