kedro-org / kedro-viz

Visualise your Kedro data and machine-learning pipelines and track your experiments.
https://demo.kedro.org
Apache License 2.0
650 stars 107 forks source link

Improve Backend Unit test execution on CI #1805

Open ravi-kumar-pilla opened 4 months ago

ravi-kumar-pilla commented 4 months ago

Description

Improve CI execution time for backend unit tests which should not rely on building the react application, rather depend only on backend functions.

Context

When we are running unit_tests on CircleCI, during build_backend we have the following steps -

unit_tests:
    parameters:
      python_version:
        type: string
    executor:
      name: docker
      python_version: <<parameters.python_version>>
    steps:
      - setup
      - run:
          name: Run Python tests
          command: make pytest

The setup step has -

  setup:
    steps:
      - checkout
      - setup_python_env
      - install_node_dependencies
      - npm_build

Possible Implementation

Possible Alternatives

Checklist