Skip to content

Commit 7a59dbf

Browse files
committed
Improve pyright CI
1 parent 76d898b commit 7a59dbf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci-pyright.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ jobs:
2929
- name: Upgrade pip
3030
run: |
3131
pip install --upgrade pip
32+
- name: Create a virtual environment
33+
run: |
34+
python -m venv venv
35+
source venv/bin/activate
3236
- name: Install the package
3337
run: |
3438
pip install .[dev]
3539
- name: Pyright
3640
uses: jakebailey/pyright-action@v1
3741
with:
38-
version: "1.1.309"
42+
version: PATH
43+
venv-path: venv

0 commit comments

Comments
 (0)