From 408c23586592cf1969e2a4f1df80db02284bf13f Mon Sep 17 00:00:00 2001 From: Matt Shirley Date: Thu, 26 Jun 2025 13:03:33 -0500 Subject: [PATCH] add pyproject hatch test environment --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a3a7acf5..b2b12588 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,3 +128,10 @@ dynamic_context = "test_function" [tool.pytest.ini_options] asyncio_mode = "auto" + +[tool.hatch.envs.test] +features = ["test"] + +[tool.hatch.envs.test.scripts] +test = "pytest {args}" +cov = "pytest --cov=servicex {args}"