Skip to content

Commit a560690

Browse files
stub out test environment
1 parent 1ed0371 commit a560690

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

pyproject.toml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,28 @@ requests = ">=2.22.0"
322322
[tool.pixi.feature.minuit.dependencies]
323323
iminuit = ">=2.7.0"
324324

325+
[tool.pixi.feature.test.dependencies]
326+
pytest = ">=6.0"
327+
scikit-hep-testdata = ">=0.4.11"
328+
coverage = ">=6.0.0"
329+
pytest-mock = "*"
330+
requests-mock = ">=1.9.0"
331+
pytest-benchmark = "*"
332+
pytest-console-scripts = ">=1.4.0"
333+
pytest-mpl = "*"
334+
ipympl = ">=0.3.0"
335+
pydocstyle = "*"
336+
papermill = ">=2.5.0"
337+
scrapbook = ">=0.5.0"
338+
notebook = ">=6.5.7"
339+
graphviz = "*"
340+
pytest-socket = ">=0.2.0"
341+
342+
[tool.pixi.feature.test.tasks.test]
343+
cmd = """
344+
coverage run --module pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py
345+
"""
346+
325347
[tool.pixi.environments]
326348
default = { solve-group = "default" }
327349
jax = { features = ["jax"], solve-group = "default" }
@@ -333,6 +355,6 @@ contrib = { features = ["contrib"], solve-group = "default" }
333355
backends = { features = ["jax", "minuit"], solve-group = "default" }
334356
all = { features = ["jax", "minuit", "xmlio", "contrib"], solve-group = "default" }
335357

358+
test = { features = ["jax", "minuit", "xmlio", "contrib", "test"], solve-group = "default" }
336359
# dev = { features = ["dev"], solve-group = "default" }
337360
# docs = { features = ["docs"], solve-group = "default" }
338-
# test = { features = ["test"], solve-group = "default" }

0 commit comments

Comments
 (0)