Commit eacddf86 authored by Simon Chabot's avatar Simon Chabot
Browse files

test: improve tox.ini readability by moving forge dependancies to a dedicated file

- forge dependancies are now installed at first, therefore they will not be
  upgraded by the next requirements (no need to upgrade or force installation).
- simply use the zip archive, provided by the forge. No need to install
  hg-evolve.
parent 2d9cb2aadaa6
Pipeline #8290 failed with stages
in 43 minutes and 45 seconds
https://forge.extranet.logilab.fr/open-source/logilab-common/-/archive/branch/default/logilab-common-branch-default.zip#egg=logilab-common
https://forge.extranet.logilab.fr/open-source/logilab-database/-/archive/branch/default/logilab-database-branch-default.zip#egg=logilab-database
https://forge.extranet.logilab.fr/open-source/logilab-constraint/-/archive/branch/default/logilab-constraint-branch-default.zip#egg=logilab-constraint
https://forge.extranet.logilab.fr/open-source/logilab-mtconverter/-/archive/branch/default/logilab-mtconverter-branch-default.zip#egg=logilab-mtconverter
https://forge.extranet.logilab.fr/open-source/yams/-/archive/branch/default/yams-branch-default.zip#egg=yams
https://forge.extranet.logilab.fr/open-source/CubicWeb/RQL/-/archive/branch/default/RQL-branch-default.zip#egg=rql
https://github.com/logilab/yapps/tarball/master#egg=yapps
......@@ -21,20 +21,24 @@ commands =
[testenv:py3-from-forge]
basepython=python3
deps =
hg-evolve
-r{toxinidir}/requirements/from-forge.txt
-r{toxinidir}/requirements/dev.txt
-r{toxinidir}/requirements/test-misc.txt
-r{toxinidir}/requirements/test-server.txt
-r{toxinidir}/requirements/test-web.txt
commands =
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/logilab-common
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/logilab-database
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/logilab-constraint
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/logilab-mtconverter
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/yams
{envpython} -m pip install -U hg+https://forge.extranet.logilab.fr/open-source/CubicWeb/RQL
{envpython} -m pip install --upgrade --no-deps --quiet https://github.com/logilab/yapps/tarball/master#egg=yapps
{envpython} -m pytest {posargs} {toxinidir}/cubicweb/test {toxinidir}/cubicweb/dataimport/test {toxinidir}/cubicweb/devtools/test {toxinidir}/cubicweb/entities/test {toxinidir}/cubicweb/ext/test {toxinidir}/cubicweb/hooks/test {toxinidir}/cubicweb/sobjects/test {toxinidir}/cubicweb/wsgi/test {toxinidir}/cubicweb/pyramid/test {toxinidir}/cubicweb/server/test {toxinidir}/cubicweb/web/test
{envpython} -m pytest {posargs} \
{toxinidir}/cubicweb/test \
{toxinidir}/cubicweb/dataimport/test \
{toxinidir}/cubicweb/devtools/test \
{toxinidir}/cubicweb/entities/test \
{toxinidir}/cubicweb/ext/test \
{toxinidir}/cubicweb/hooks/test \
{toxinidir}/cubicweb/sobjects/test \
{toxinidir}/cubicweb/wsgi/test \
{toxinidir}/cubicweb/pyramid/test \
{toxinidir}/cubicweb/server/test \
{toxinidir}/cubicweb/web/test
[testenv:flake8]
skip_install = true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment