Skip to content

Commit 26bc625

Browse files
committed
ci(tox): only check coverage on *3.10* tests
1 parent cf3e02a commit 26bc625

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,16 @@ description = "Run tests under {base_python}."
211211
runner = "uv-venv-lock-runner"
212212
extras = ["sqlite", "async"]
213213
dependency_groups = ["test"]
214-
commands = [
215-
[
216-
"pytest",
217-
"{posargs:tests}",
218-
"--cov",
219-
"--cov-append",
220-
"--cov-branch",
221-
"--cov-report=xml",
222-
],
223-
]
214+
commands = [["pytest", "{posargs:tests}"]]
215+
216+
[tool.tox.env.3.10]
217+
passenv = ["*"]
218+
description = "Run tests under {base_python}."
219+
runner = "uv-venv-lock-runner"
220+
extras = ["sqlite", "async"]
221+
dependency_groups = ["test"]
222+
commands = [["pytest", "{posargs:tests}", "--cov", "--cov-report=xml"]]
223+
224224

225225
[tool.coverage.run]
226226
requires = []

0 commit comments

Comments
 (0)