Skip to content

Commit

Permalink
ci: restrict numpy v1 test with <=3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Nov 20, 2024
1 parent 14c8eb0 commit 47ccdad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,14 @@ matrix-name-format = "{variable}={value}"
test = "pytest {args}"

[[tool.hatch.envs.test.matrix]]
python = ["3.10", "3.11", "3.12", "3.13"]
python = ["3.10", "3.11", "3.12"]
numpy-version = ["1", "2"]

# Only test numpy 2 with python 3.13
[[tool.hatch.envs.test.matrix]]
python = ["3.13"]
numpy-version = ["2"]


[tool.hatch.envs.test.overrides]
matrix.numpy-version.dependencies = [
Expand Down

0 comments on commit 47ccdad

Please sign in to comment.