diff --git a/openshift/templates/django-postgresql.json b/openshift/templates/django-postgresql.json index c4c55dd..ab35eab 100644 --- a/openshift/templates/django-postgresql.json +++ b/openshift/templates/django-postgresql.json @@ -106,7 +106,10 @@ "secret": "${GITHUB_WEBHOOK_SECRET}" } } - ] + ], + "postCommit": { + "script": "./manage.py test" + } } }, { diff --git a/openshift/templates/django.json b/openshift/templates/django.json index 75b6798..57037ec 100644 --- a/openshift/templates/django.json +++ b/openshift/templates/django.json @@ -106,7 +106,10 @@ "secret": "${GITHUB_WEBHOOK_SECRET}" } } - ] + ], + "postCommit": { + "script": "./manage.py test" + } } }, {