Skip to content
Don Jayamanne edited this page Sep 22, 2020 · 16 revisions

How to run functional tests with Jupyter on CI?

Open the pr.yml file and add the string functional-with-jupyter to the list of test-suite, as follows. Then submit a PR with this change to ensure the functional test run.

  tests:
    name: Tests (with Python)
    strategy:
      matrix:
        test-suite: [python-unit, functional, functional-with-jupyter]

Note:

  • The above change must be reverted prior to merging any PR (we don't want to run this on every PR).
  • All of the functional tests run on Windows & Linux & with Jupyter for all commits to the main branch.

How to run functional tests with Jupyter locally?

Launch the debug configuration Functional Tests (without VS Code, *.functional.test.ts) Ensure you update the following environment variables accordingly:

  • VSC_PYTHON_ROLLING (Remove the X prefix)
  • CI_PYTHON_PATH (Remove the X prefix, & set to fully qualified path to python interpreter
  • CI_PYTHON_PATH2 (Remove the X prefix, & set to fully qualified path to python interpreter)
    • This is used for 1-2 tests that require two interpreters. Both of which must have Jupyter dependencies installed.
Clone this wiki locally