version: 2.1

orbs:
  python: circleci/python@1.1.0

jobs:
  build:
    docker:
      - image: cimg/python:3.8
        environment:
          DJANGO_SETTINGS_MODULE: chowist.settings.test
      - image: postgres:12
        environment:
          POSTGRES_USER: circleci
          POSTGRES_PASSWORD: circleci
          POSTGRES_DB: circle_test

    steps:
      - checkout
      - python/install-packages:
          pkg-manager: pip
      - run:
          command: |
            python manage.py check
            python manage.py test
          name: Test

version: 2.1

orbs:
  python: circleci/python@1.1.0

jobs:
  build-and-test:
    docker:
      - image: cimg/python:3.8
        environment:
          DJANGO_SETTINGS_MODULE: chowist.settings.test
      - image: postgres:12
        environment:
          POSTGRES_USER: circleci
          POSTGRES_PASSWORD: circleci
          POSTGRES_DB: circle_test

    steps:
      - checkout
      - python/install-packages:
          pkg-manager: pip
      - run:
          command: |
            python manage.py check
            python manage.py test
          name: Test

workflows:
  main:
    jobs:
      - build-and-test

Change name of circleci job
Change name of circleci job
