Skip to content

Commit acae115

Browse files
committed
Invoke pytest before ctest to ensure rebuild is triggered with Python's import statement
1 parent ba9c02f commit acae115

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

pixi.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ninja = "*"
3939
scikit-build-core = "*"
4040
nanobind = "*"
4141
gtest = ">=1.17.0,<2"
42-
clang-tools = ">=18,<20" # Includes clang-format and clang-tidy
42+
clang-tools = ">=18,<20" # Includes clang-format and clang-tidy
4343
mesalib = ">=25.0.5,<26"
4444

4545
[tool.pixi.pypi-dependencies]
@@ -55,7 +55,7 @@ no-build-isolation = ["genmetaballs"]
5555
[tool.pixi.tasks]
5656
ctest = "ctest --test-dir build"
5757
pytest = "pytest"
58-
test = { depends-on = ["ctest", "pytest"] }
58+
test = { depends-on = ["pytest", "ctest"] }
5959
# Simple lint/format/fix commands (C++/CUDA + Python)
6060
format = { cmd = "scripts/format.sh" }
6161
lint = { cmd = "scripts/lint.sh" }
@@ -92,17 +92,17 @@ line-ending = "auto"
9292

9393
[tool.ruff.lint]
9494
select = [
95-
"E", # pycodestyle errors
96-
"W", # pycodestyle warnings
97-
"F", # pyflakes
98-
"I", # isort
99-
"B", # flake8-bugbear
100-
"C4", # flake8-comprehensions
101-
"UP", # pyupgrade
95+
"E", # pycodestyle errors
96+
"W", # pycodestyle warnings
97+
"F", # pyflakes
98+
"I", # isort
99+
"B", # flake8-bugbear
100+
"C4", # flake8-comprehensions
101+
"UP", # pyupgrade
102102
]
103103
ignore = [
104-
"E501", # line too long (handled by formatter)
105-
"B008", # do not perform function calls in argument defaults
104+
"E501", # line too long (handled by formatter)
105+
"B008", # do not perform function calls in argument defaults
106106
]
107107

108108
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)