python3: add a py3 pytest environment in tox.ini
gitea/authentic/pipeline/head Build started... Details

This commit is contained in:
Paul Marillonnet 2020-02-10 14:03:19 +01:00
parent b0b0cc9ed9
commit ee3afeafe4
1 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic/
envlist = py27-coverage-dj111-authentic-pg-{oldldap,},py27-coverage-dj111-rbac-pg,pylint
envlist = py27-coverage-dj111-authentic-pg-{oldldap,},py27-coverage-dj111-rbac-pg,pylint, py3-authentic-dj111-pg
[testenv]
whitelist_externals =
@ -59,7 +59,8 @@ deps =
ldaptools>=0.15
oldldap: python-ldap<3
commands =
./getlasso.sh
py27: ./getlasso.sh
py3: ./getlasso3.sh
rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {posargs:{env:TESTS} --random-group}
[testenv:pylint]