mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Enable shell extra for installing ptpython and rich (#782)
Co-authored-by: Teemu R. <tpr@iki.fi>
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user