diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-04-30 00:53:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 00:53:05 +0100 |
commit | ac5f2f4d86e1379f5e6c7302650f32a6be215747 (patch) | |
tree | a06e30ed40fb6e0dee27424460fe35b1d1b5c4e5 | |
parent | Merge pull request #3155 from NotAFile/py3-bytes-1 (diff) | |
parent | Update tox.ini (diff) | |
download | synapse-ac5f2f4d86e1379f5e6c7302650f32a6be215747.tar.xz |
Merge pull request #3145 from NotAFile/py3-tests
Add py3 tests to tox with folders that work
-rw-r--r-- | tox.ini | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini index f408defc8f..ca8373662b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = packaging, py27, pep8 +envlist = packaging, py27, py36, pep8 [testenv] deps = @@ -46,6 +46,14 @@ commands = # ) usedevelop=true +[testenv:py36] +usedevelop=true +commands = + /usr/bin/find "{toxinidir}" -name '*.pyc' -delete + coverage run {env:COVERAGE_OPTS:} --source="{toxinidir}/synapse" \ + "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests/metrics} {env:TOXSUFFIX:} + {env:DUMP_COVERAGE_COMMAND:coverage report -m} + [testenv:packaging] deps = check-manifest |