Skip to content

Commit fcc7a7a

Browse files
committed
add download data step to test
1 parent c249d84 commit fcc7a7a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

pixi.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@ setuptools_scm = "*"
4949
python-build = "*"
5050
sphinx-autodoc-typehints = "*"
5151
myst-nb = "*"
52+
pooch = "*"
5253

5354
[feature.dev.tasks]
5455
lint = "ruff check tests xarray_subset_grid"
55-
test = "pytest tests/"
56-
test_all = "pytest --online tests/"
57-
test_cov = "pytest --cov=xarray_subset_grid tests"
56+
test = { cmd = ["pytest", "tests/"], depends-on = ["download"] }
57+
download = "python download_test_data.py"
58+
test_all = { cmd = "pytest --online tests/", depends-on = ["download"] }
59+
test_cov = { cmd = "pytest --cov=xarray_subset_grid tests", depends-on = ["download"] }
5860

5961
[feature.examples.dependencies]
6062
matplotlib = "*"

0 commit comments

Comments
 (0)