Skip to content

Commit

Permalink
Add extras group for crcmod and install all extras in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed May 4, 2024
1 parent bf279d8 commit 8696fb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip poetry
poetry install --extras docs
poetry install --all-extras
- name: "Run tests"
run: |
poetry run pytest --cov miio --cov-report xml
Expand Down
3 changes: 2 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ crcmod = { version = "^1.7", optional = true }
docs = ["sphinx", "sphinx_click", "sphinxcontrib-apidoc", "sphinx_rtd_theme", "myst-parser"]
updater = ["netifaces"]
backup_extract = ["android_backup"]
crcmod = ["crcmod"]

[tool.poetry.dev-dependencies]
pytest = ">=6.2.5"
Expand Down

0 comments on commit 8696fb7

Please sign in to comment.