build-job-kpi-forecasting:
  docker:
    - image: << pipeline.parameters.git-image >>
  steps:
    - checkout
    - compare-branch:
        pattern: ^jobs/kpi-forecasting/
    - setup_remote_docker:
        version: << pipeline.parameters.docker-version >>
    - run:
        name: Build Docker image
        command: docker build -t app:build jobs/kpi-forecasting/
    - run:
        name: Test Code
        command: docker run app:build pytest --ruff --ruff-format
