Skip to content

[kernels-mixer] Make the local kernel spec manager configurable #917

[kernels-mixer] Make the local kernel spec manager configurable

[kernels-mixer] Make the local kernel spec manager configurable #917

Workflow file for this run

name: Presubmit
on:
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: "10"
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install Pipenv
run: pip install pipenv && pipenv install -d
- name: Build TypeScript
run: npm ci &&
npm run bootstrap &&
npm run build
- name: Build JupyterLab
run: source $(pipenv --venv)/bin/activate &&
scripts/build_jupyterlab.sh
- name: Build Python
run: source $(pipenv --venv)/bin/activate &&
scripts/build_python_packages.sh
- name: Run Tests
run: source $(pipenv --venv)/bin/activate &&
scripts/run_all_tests.sh
test_matrix:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install pytest
run: |
python -m pip install pytest
- name: Install dependencies
run: |
python -m pip install jupyter_server traitlets
- name: Set up Cloud SDK
uses: 'google-github-actions/setup-gcloud@v1'
- name: Install google-cloud-jupyter-config
run: |
python -m pip install ./google-cloud-jupyter-config
- name: Test gcloud config
run: |
pytest ./google-cloud-jupyter-config
- name: Install kernels-mixer
run: |
python -m pip install ./kernels-mixer
- name: Test kernels-mixer
run: |
pytest ./kernels-mixer