aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2020-07-28 06:39:32 +0000
committerMichał Jagiełło <michal.jagiello@t-mobile.pl>2020-08-05 14:08:43 +0000
commit314ee85cf7c8a98dd21d5d12e4013b9f742b1012 (patch)
tree531d97910a4f63f6d60cc300f0ff2029991ab5db
parent65755077a401859f9fc66fc162a695f2586375df (diff)
Run pylog tests using Python 3.8
Edit tox configuration to run tests in Python 3.6, Python 3.7 and Python 3.8 Issue-ID: LOG-1233 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I29bb0e1075ae79d927369cf19d568d6c5ceb439b
-rw-r--r--pylog/tox.ini14
1 files changed, 3 insertions, 11 deletions
diff --git a/pylog/tox.ini b/pylog/tox.ini
index 3f92b52..b5f2dd3 100644
--- a/pylog/tox.ini
+++ b/pylog/tox.ini
@@ -1,24 +1,21 @@
[tox]
envlist =
- testenv,
- jenkins,
+ py36
+ py37
+ py38
pep8
- flake8
cover
skipsdist = true
skip_missing_interpreters = true
[tox:jenkins]
-basepython = python3
downloadcache = ~/cache/pip
[testenv]
-basepython = python3
deps = -r{toxinidir}/test_requirements.txt
coverage
pytest-cov
setenv = PYTHONPATH={toxinidir}/
-
commands = pytest
[testenv:pep8]
@@ -26,11 +23,6 @@ basepython = python3
deps=flake8
commands=flake8 onaplogging
-[flake8]
-basepython = python3
-show-source = true
-exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
-
[testenv:cover]
basepython = python3
commands = py.test --cov-report term-missing --cov onaplogging