version: 2

jobs:
  build:
    working_directory: ~/memegen-v2

    docker:
      - image: circleci/python:3.8.3-node-browsers

    steps:
      - checkout

      - run:
          name: Checking System Dependencies
          command: make doctor

      - type: cache-restore
        key: poetry-{{ checksum "poetry.lock" }}

      - run:
          name: Installing Project Dependencies
          command: make install

      - type: cache-save
        key: poetry-{{ checksum "poetry.lock" }}
        paths:
          - .venv

      - run:
          name: Checking Code
          command: make check

      - run:
          name: Running Tests
          command: make test

version: 2

jobs:
  build:
    working_directory: ~/memegen-v2

    docker:
      - image: circleci/python:3.8.5-node-browsers

    steps:
      - checkout

      - run:
          name: Checking System Dependencies
          command: make doctor

      - type: cache-restore
        key: poetry-{{ checksum "poetry.lock" }}

      - run:
          name: Installing Project Dependencies
          command: make install

      - type: cache-save
        key: poetry-{{ checksum "poetry.lock" }}
        paths:
          - .venv

      - run:
          name: Checking Code
          command: make check

      - run:
          name: Running Tests
          command: make test

Use Python 3.8.5 for CI
Use Python 3.8.5 for CI
