ci(Tests): Install Jupyter kernels for tests
@@ -81,13 +81,20 @@ jobs:
echo "##vso[task.setvariable variable=RUSTC_WRAPPER]sccache"
cargo list | grep --quiet cache || cargo install cargo-cache
echo "##vso[task.setvariable variable=RUST_CACHING]true"
- displayName: 'Install build tools'
+ displayName: 'Install: Rust build tools'
# Specify Node.js version to use for `node`, `desktop`, and `web` tests and builds
- task: NodeTool@0
inputs:
versionSpec: '16.x'
- displayName: 'Specify Node.js version'
+ displayName: 'Install: Node.js version'
+
+ # Install Jupyter kernels
+ - script: |
+ set -e
+ python3 -m pip install ipykernel
+ python3 -m ipykernel install --user
+ displayName: 'Install: Jupyter kernels'
# Rust crate is linted if there are changes in the `rust` folder.
- script: make -C rust lint
@@ -221,12 +228,18 @@ jobs:
echo "##vso[task.setvariable variable=RUSTC_WRAPPER]sccache"
cargo list | grep --quiet cache || cargo install cargo-cache
echo "##vso[task.setvariable variable=RUST_CACHING]true"
- displayName: 'Install build tools'
+ displayName: 'Install: Rust build tools'
- task: NodeTool@0
inputs:
versionSpec: '16.x'
- displayName: 'Specify Node.js version'
+ displayName: 'Install: Node.js version'
+
+ - script: |
+ set -e
+ python3 -m pip install ipykernel
+ python3 -m ipykernel install --user
+ displayName: 'Install: Jupyter kernels'
- script: |
set -e
@@ -305,12 +318,18 @@ jobs:
echo ##vso[task.setvariable variable=RUSTC_WRAPPER]sccache
cargo list | grep --quiet cache || cargo install cargo-cache
echo ##vso[task.setvariable variable=RUST_CACHING]true
- displayName: 'Install build tools'
+ displayName: 'Install: Rust build tools'
- task: NodeTool@0
inputs:
versionSpec: '16.x'
- displayName: 'Specify Node.js version'
+ displayName: 'Install: Node.js version'
+
+ - script: |
+ set -e
+ python3 -m pip install ipykernel
+ python3 -m ipykernel install --user
+ displayName: 'Install: Jupyter kernels'
- script: |
set -e
