details:   https://code.tryton.org/hatch-tryton/commit/f92ebb36e46e
branch:    default
user:      Cédric Krier <[email protected]>
date:      Sat Mar 21 18:54:46 2026 +0100
description:
        Do not test in-place with tox
diffstat:

 .gitlab-ci.yml |  4 ++--
 tox.ini        |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r ca5af7a26f43 -r f92ebb36e46e .gitlab-ci.yml
--- a/.gitlab-ci.yml    Thu Mar 19 09:06:30 2026 +0100
+++ b/.gitlab-ci.yml    Sat Mar 21 18:54:46 2026 +0100
@@ -45,10 +45,10 @@
   coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
   artifacts:
     reports:
-      junit: junit.xml
+      junit: .tox/junit.xml
       coverage_report:
         coverage_format: cobertura
-        path: coverage.xml
+        path: .tox/coverage.xml
 
 test-tox-python:
   extends: .test-tox
diff -r ca5af7a26f43 -r f92ebb36e46e tox.ini
--- a/tox.ini   Thu Mar 19 09:06:30 2026 +0100
+++ b/tox.ini   Sat Mar 21 18:54:46 2026 +0100
@@ -2,9 +2,9 @@
 envlist = py39, py310, py311, py312, py313, py314, pypy3
 
 [testenv]
-usedevelop = true
+changedir = {toxworkdir}
 commands =
-    coverage run --omit=*/tests/*,*/.tox/* -m xmlrunner discover -s 
hatch_tryton.tests {posargs}
+    coverage run --source=hatch_tryton --omit=*/tests/* -m xmlrunner discover 
-s hatch_tryton.tests {posargs}
 commands_post =
     coverage report
     coverage xml

Reply via email to