image: python:3.9-buster

variables:
  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

cache:
  paths:
    - .cache/pip
    - venv/

before_script:
  - python -V

test:
  script:
    - make install
    - make lint
    - make test
  artifacts:
    reports:
      cobertura: coverage.xml