From e90ffafb47ac58072192134ee14d9bcad09dded2 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Thu, 11 Apr 2024 21:30:34 +0200 Subject: [PATCH] chore: forward hatch command args to pytest (#7537) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6b30a7dce..b2e9202f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,7 +139,7 @@ extra-dependencies = [ [tool.hatch.envs.test.scripts] e2e = "pytest e2e" -unit = 'pytest --cov-report xml:coverage.xml --cov="haystack" -m "not integration" test' +unit = 'pytest --cov-report xml:coverage.xml --cov="haystack" -m "not integration" test {args:test}' integration = 'pytest --maxfail=5 -m "integration" test' integration-mac = 'pytest --maxfail=5 -m "integration" test -k "not tika"' integration-windows = 'pytest --maxfail=5 -m "integration" test -k "not tika"'