Enable shell extra for installing ptpython and rich (#782)

Co-authored-by: Teemu R. <tpr@iki.fi>
This commit is contained in:
Steven B
2024-02-20 18:40:28 +00:00
committed by GitHub
parent 5ba3676422
commit 4beff228c9
5 changed files with 130 additions and 10 deletions

View File

@@ -88,16 +88,16 @@ jobs:
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies (no speedups)"
- name: "Install dependencies (no extras)"
if: matrix.extras == false
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: "Install dependencies (with speedups)"
- name: "Install dependencies (with extras)"
if: matrix.extras == true
run: |
python -m pip install --upgrade pip poetry
poetry install --extras speedups
poetry install --all-extras
- name: "Run tests"
run: |
poetry run pytest --cov kasa --cov-report xml