Skip to content

Commit 3a5b2ca

Browse files
committed
Fix: Attempt to fix github orkflow failure with python-ci v2.
Remove the `skip_install` option from the `env_run_base` environment in `pyproject.toml` as it interferes with the `test-tox.yaml` workflow from python-ci v2.
1 parent 02ae21a commit 3a5b2ca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,14 @@ env.lint.commands = [["ruff", "check"]]
9191
env.format.commands = [["ruff", "format", "--check"]]
9292

9393
# Default command and options for all the environments
94-
env_run_base.commands = [["python", "-m", "pytest", {replace = "posargs", extend = true}]]
95-
env_run_base.dependency_groups = ["test"] # Ensure test dependencies are installed
9694
env_run_base.extras = ["littlefs"] # Include optional dependencies
95+
env_run_base.commands = [["pytest", {replace = "posargs", extend = true}]]
96+
env_run_base.dependency_groups = ["test"] # Ensure test dependencies are installed
9797
env_run_base.package = "editable" # Use the editable install mode
9898
env_run_base.runner = "uv-venv-runner" # We love uv
99-
env_run_base.skip_install = true
10099

101100
# Overrides for the latest python version
102-
env.3.13.commands = [["python", "-m", "pytest", "--cov", {replace = "posargs", extend = true}]]
101+
env.3.13.commands = [["pytest", "--cov", {replace = "posargs", extend = true}]]
103102
env.3.13.labels = ["cov", "coverage", "latest"]
104103

105104
[tool.mypy]

0 commit comments

Comments
 (0)