From 9a9a396161e4545add390c378fb39ee88174a30a Mon Sep 17 00:00:00 2001 From: Stuart Axon Date: Tue, 18 Jun 2019 16:28:45 +0100 Subject: [PATCH 1/2] Run management command in tox. Run the `celery` management command, to detect breakage there. This should be more exaustive (though I'm not sure which commands will work with the celery config here?), it should be enough to check if the management command fails. NOTE: I can't run tox here to see if this works. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 54a36eae..c6d97bdc 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ setenv = DJANGO_SETTINGS_MODULE=settings commands = {envpython} -Wall tests/manage.py test {posargs} + {envpython} manage.py celery [testenv:flake8] basepython = python2.7 From a41f79d08ccacf1c01223436bd47cf10aa034429 Mon Sep 17 00:00:00 2001 From: Stuart Axon Date: Tue, 18 Jun 2019 16:57:14 +0100 Subject: [PATCH 2/2] Update tox.ini Update path to manage.py --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c6d97bdc..2c0f7240 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ setenv = DJANGO_SETTINGS_MODULE=settings commands = {envpython} -Wall tests/manage.py test {posargs} - {envpython} manage.py celery + {envpython} tests/manage.py celery [testenv:flake8] basepython = python2.7