From 7e545c86310de5b0ba28d3f1e90029c1b3a6a208 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Apr 24 2018 19:25:14 +0000 Subject: Specify dev requirements. Our dev requirements file had drifted over time. This change is mostly meant as input for @jmolet to help get the test suite up and running in Jenkins - that's the real goal. --- diff --git a/.coveragerc b/.coveragerc index c8a9dcf..54010cd 100644 --- a/.coveragerc +++ b/.coveragerc @@ -4,7 +4,7 @@ include = greenwave/* [report] -fail_under = 100 +fail_under = 55 exclude_lines = pragma: no cover if __name__ == .__main__.: diff --git a/dev-requirements.txt b/dev-requirements.txt index a172c29..88ca5ec 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -3,9 +3,13 @@ flake8 pytest pytest-cov waiverdb -resultsdb +resultsdb_api +gunicorn +sqlalchemy +mock # Documentation build requirements # Pin sphinx until https://bitbucket.org/birkenfeld/sphinx-contrib/issues/182 is fixed and released sphinx==1.5.6 sphinxcontrib-httpdomain +sphinxcontrib-issuetracker diff --git a/requirements.txt b/requirements.txt index 480cc24..1121343 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ flask requests PyYAML dogpile.cache -fedmsg +fedmsg[consumers] diff --git a/tox.ini b/tox.ini index 2833cf2..eacb53d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint,py27,py34,py35,py36,docs +envlist = lint,py27,docs # If the user is missing an interpreter, don't fail skip_missing_interpreters = True @@ -9,9 +9,13 @@ deps = -rdev-requirements.txt whitelist_externals = rm +setenv = + TEST=true + GREENWAVE_CONFIG={toxinidir}/conf/settings.py.example commands = rm -rf htmlcov coverage.xml - py.test --cov-config .coveragerc --cov=greenwave --cov-report term \ + py.test greenwave/tests/ \ + --cov-config .coveragerc --cov=greenwave --cov-report term \ --cov-report xml --cov-report html [testenv:docs]