mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 05:43:44 +03:00
DRY's up config
This commit is contained in:
parent
cb1e2b61b8
commit
93ed2a1528
|
@ -12,12 +12,9 @@ jobs:
|
|||
executor: docker/docker
|
||||
steps:
|
||||
- checkout
|
||||
- run: echo "Django==$DJANGO_VERSION" > requirements.txt
|
||||
- run: echo "djangorestframework==$DRF" >> requirements.txt
|
||||
- run: pip install --user coveralls
|
||||
- run: pip install --user -r requirements.txt
|
||||
- run: pip install --user -r dev-requirements.txt
|
||||
- run: pip install --user -r dj_rest_auth/tests/requirements.pip
|
||||
- run: pip install -q --user coveralls djangorestframework==$DRF "Django==$DJANGO_VERSION
|
||||
- run: pip install -q --user -r dev-requirements.txt
|
||||
- run: pip install -q --user -r dj_rest_auth/tests/requirements.pip
|
||||
- run:
|
||||
command: coverage run --source=dj_rest_auth setup.py test
|
||||
name: Test
|
||||
|
|
|
@ -20,5 +20,6 @@ def runtests():
|
|||
failures = test_runner.run_tests(['dj_rest_auth'])
|
||||
sys.exit(bool(failures))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
runtests()
|
||||
|
|
Loading…
Reference in New Issue
Block a user