Commit c6862eec authored by Chandan Singh's avatar Chandan Singh
Browse files

Add tox.ini to enable running tests using tox

parent 986c9b1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ tmp
.cache
.pytest_cache/
*.bst/
.tox

# Pycache, in case buildstream is ran directly from within the source
# tree
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ recursive-include doc/sessions *.run
# Tests
recursive-include tests *
include conftest.py
include tox.ini
include .coveragerc
include .pylintrc

tox.ini

0 → 100644
+13 −0
Original line number Diff line number Diff line
[tox]
envlist = py35,py36,py37
skip_missing_interpreters = true

[testenv]
commands = pytest {posargs}
deps =
    -rrequirements.txt
    -rdev-requirements.txt
    -rplugin-requirements.txt
passenv =
    GI_TYPELIB_PATH
    TERM