Skip to content

Commit 52962b6

Browse files
committed
Don't install docs dependencies in CI, and run pyright with more recent python
1 parent a80e025 commit 52962b6

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- run: poetry env use "${{ matrix.python-version }}"
5050

51-
- run: poetry install --extras "django sqlalchemy"
51+
- run: poetry install --extras "django sqlalchemy" --without "docs"
5252

5353
- name: Run tests
5454
run: scripts/tests
@@ -75,11 +75,14 @@ jobs:
7575

7676
- uses: actions/setup-python@v5
7777
with:
78-
python-version: "3.8" # Important for importlib_metadata
78+
python-version: "3.8"
7979
cache: "poetry"
8080

81+
- name: Use selected Python version
82+
run: poetry env use 3.8
83+
8184
- name: Install dependencies
82-
run: poetry install --all-extras --with=types
85+
run: poetry install --all-extras --with=types --without=docs
8386

8487
- name: Activate virtualenv
8588
run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)