From 608ad85597a219322972a61b82d8eb8e911c8551 Mon Sep 17 00:00:00 2001 From: Federico Mon Date: Fri, 9 May 2025 16:48:16 +0200 Subject: [PATCH] enable junit xml for pytest suite in hatch --- hatch.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hatch.toml b/hatch.toml index bc5181ba80e..20cad18eb04 100644 --- a/hatch.toml +++ b/hatch.toml @@ -782,7 +782,7 @@ DD_AGENT_PORT = "9126" test = [ "pip freeze", "echo $PYTEST_ADDOPTS", - "pytest -c /dev/null --no-ddtrace --no-cov tests/contrib/pytest {args:}", + "pytest -c /dev/null --no-ddtrace --no-cov --junitxml=test-results/junit.xml tests/contrib/pytest {args:}", ] [[envs.pytest_plugin_v2.matrix]] @@ -880,4 +880,4 @@ test = [ ] [[envs.appsec_integrations_pygoat.matrix]] -python = ["3.10", "3.11", "3.12"] \ No newline at end of file +python = ["3.10", "3.11", "3.12"]