Skip to content
Snippets Groups Projects
Commit e50c70ea authored by Sigurd's avatar Sigurd
Browse files

another test

Running both in one line
parent b904b021
No related branches found
No related tags found
No related merge requests found
Pipeline #164762 passed
...@@ -10,8 +10,7 @@ test: ...@@ -10,8 +10,7 @@ test:
- cd backend/secfit - cd backend/secfit
- apt-get update -qy - apt-get update -qy
- pip install -r requirements.txt - pip install -r requirements.txt
- python manage.py test workouts --testrunner django_nose.NoseTestSuiteRunner --with-coverage --cover-package workouts --cover-erase - python manage.py test
- python manage.py test users --testrunner django_nose.NoseTestSuiteRunner --with-coverage --cover-package users --cover-erase
staging: staging:
type: deploy type: deploy
......
...@@ -96,6 +96,12 @@ TEMPLATES = [ ...@@ -96,6 +96,12 @@ TEMPLATES = [
] ]
TEST_RUNNER = "django_nose.NoseTestSuiteRunner" TEST_RUNNER = "django_nose.NoseTestSuiteRunner"
NOSE_ARGS = [
'--with-coverage',
'--cover-package=workouts,users',
'--cover-erase',
]
WSGI_APPLICATION = "secfit.wsgi.application" WSGI_APPLICATION = "secfit.wsgi.application"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment