Skip to content

Commit fe367fa

Browse files
committed
feat: add a local test matrix with hatch
1 parent b612a9e commit fe367fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ pytest11 = { codspeed = "pytest_codspeed.plugin" }
5252
python = "3.12"
5353
features = ["lint", "test", "compat"]
5454

55+
[tool.hatch.envs.test]
56+
features = ["test"]
57+
58+
[[tool.hatch.envs.test.matrix]]
59+
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
60+
features = ["compat", "test"]
61+
5562
[tool.hatch.version]
5663
path = "src/pytest_codspeed/__init__.py"
5764

0 commit comments

Comments
 (0)