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

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

diffs (37 lines):

diff -r 3ffa3c7720f6 -r d8b4f91cc12a .gitlab-ci.yml
--- a/.gitlab-ci.yml    Sat Mar 21 11:10:29 2026 +0100
+++ b/.gitlab-ci.yml    Sat Mar 21 18:52:15 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 3ffa3c7720f6 -r d8b4f91cc12a tox.ini
--- a/tox.ini   Sat Mar 21 11:10:29 2026 +0100
+++ b/tox.ini   Sat Mar 21 18:52:15 2026 +0100
@@ -1,15 +1,10 @@
-# Tox (http://tox.testrun.org/) is a tool for running tests
-# in multiple virtualenvs. This configuration file will run the
-# test suite on all supported python versions. To use it, "pip install tox"
-# and then run "tox" from this directory.
-
 [tox]
 envlist = py39, py310, py311, py312, py313, py314, pypy3
 
 [testenv]
-usedevelop = true
+changedir = {toxworkdir}
 commands =
-    coverage run --omit=*/tests/* -m xmlrunner discover -s aeb43.test {posargs}
+    coverage run --source=aeb43 --omit=*/tests/* -m xmlrunner discover -s 
aeb43.test {posargs}
 commands_post =
     coverage report --omit=README.rst
     coverage xml --omit=README.rst

Reply via email to