Adds tests

This commit is contained in:
Michael 2020-02-29 21:35:43 -06:00
parent 60cdae1570
commit c99caac86a

View File

@ -3,7 +3,7 @@ orbs:
docker: circleci/docker@0.6.0 docker: circleci/docker@0.6.0
jobs: jobs:
build-latest: &template test-latest: &template
docker: docker:
- image: circleci/python:3.8.0 - image: circleci/python:3.8.0
environment: environment:
@ -20,12 +20,12 @@ jobs:
- run: - run:
command: coverage run --source=dj_rest_auth setup.py test command: coverage run --source=dj_rest_auth setup.py test
name: Test name: Test
build-django-2: test-django-2:
<<: *template <<: *template
environment: environment:
DJANGO_VERSION: 2.0 DJANGO_VERSION: 2.0
DRF: 3.9 DRF: 3.9
build-django-11: test-django-11:
<<: *template <<: *template
environment: environment:
DJANGO_VERSION: 1.11 DJANGO_VERSION: 1.11
@ -34,6 +34,6 @@ jobs:
workflows: workflows:
main: main:
jobs: jobs:
- build-latest - test-latest
- build-django-2 - test-django-2
- build-django-11 - test-django-11