details: https://code.tryton.org/coda/commit/8aaf737a6ca3
branch: default
user: Cédric Krier <[email protected]>
date: Sat Mar 21 18:53:28 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 24c802afe5ff -r 8aaf737a6ca3 .gitlab-ci.yml
--- a/.gitlab-ci.yml Sat Mar 21 14:21:49 2026 +0100
+++ b/.gitlab-ci.yml Sat Mar 21 18:53:28 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 24c802afe5ff -r 8aaf737a6ca3 tox.ini
--- a/tox.ini Sat Mar 21 14:21:49 2026 +0100
+++ b/tox.ini Sat Mar 21 18:53:28 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 coda.test {posargs}
+ coverage run --source=coda --omit=*/tests/* -m xmlrunner discover -s
coda.test {posargs}
commands_post =
coverage report --omit=README.rst
coverage xml --omit=README.rst