mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
e91773df68
Fixes: https://tracker.ceph.com/issues/55826 Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
41 lines
842 B
INI
41 lines
842 B
INI
[tox]
|
|
envlist = flake8, mypy, pytest, deadsymlinks
|
|
skipsdist = True
|
|
|
|
[testenv:flake8]
|
|
basepython = python3
|
|
deps=
|
|
flake8
|
|
commands=flake8 --select=F,E9 --exclude=venv,.tox
|
|
|
|
[testenv:mypy]
|
|
basepython = python3
|
|
deps =
|
|
mypy
|
|
types-boto
|
|
types-requests
|
|
types-jwt
|
|
types-paramiko
|
|
types-PyYAML
|
|
types-cryptography
|
|
types-python-dateutil
|
|
-c{toxinidir}/../src/mypy-constrains.txt
|
|
commands = mypy {posargs:.}
|
|
|
|
[testenv:py3]
|
|
basepython = python3
|
|
deps =
|
|
{env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test]
|
|
httplib2
|
|
commands =
|
|
pytest --assert=plain test_import.py
|
|
pytest tasks/tests --suite-dir {toxinidir}/suites {posargs}
|
|
|
|
[testenv:deadsymlinks]
|
|
basepython = python3
|
|
toxworkdir = {toxinidir}
|
|
allowlist_externals =
|
|
bash
|
|
commands =
|
|
bash -c '! (find . -xtype l | grep ^)'
|