Skip to content

Commit

Permalink
test: add matrix env for asdf unstable v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Jun 28, 2024
1 parent 67fc4fd commit 46cb987
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,20 @@ test = "pytest {args}"

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

[tool.hatch.envs.test.overrides]
matrix.numpy-version.dependencies = [
matrix.numpy.dependencies = [
{ value = "numpy>=1,<2", if = ["1"] },
{ value = "numpy>=2,<3", if = ["2"] },
]

matrix.asdf.dependencies = [
{ value = "asdf>=3,<4", if = ["latest"] },
{ value = "asdf@git+https://github.com/braingram/asdf.git@non_lazy_ndarray", if = ["non_lazy_ndarray"] },
]

[tool.hatch.envs.docs]
dependencies = [
"sphinx",
Expand Down

0 comments on commit 46cb987

Please sign in to comment.