mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Speed up and simplify github workflows (#1128)
- Enable parallel tests in the CI with pytest-xdist - Migrate to the official `astral-sh/setup-uv` github action - Call `pre-commit` run as a single job in CI instead of relisting each check - Use `uv` version 0.4.16 - Fix bug with pre-commit cache - Update `publish.yml` to use `astral-sh/setup-uv`
This commit is contained in:
@@ -55,7 +55,8 @@ dev-dependencies = [
|
||||
"coverage[toml]",
|
||||
"pytest-timeout~=2.0",
|
||||
"pytest-freezer~=0.4",
|
||||
"mypy~=1.0"
|
||||
"mypy~=1.0",
|
||||
"pytest-xdist>=3.6.1",
|
||||
]
|
||||
|
||||
|
||||
@@ -105,6 +106,7 @@ markers = [
|
||||
"requires_dummy: test requires dummy data to pass, skipped on real devices",
|
||||
]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
timeout = 10
|
||||
|
||||
[tool.doc8]
|
||||
|
Reference in New Issue
Block a user