Skip to content

[DEPS](deps-dev): Update jupyterlab requirement from >=4.0 to >=4.5.6 #12

[DEPS](deps-dev): Update jupyterlab requirement from >=4.0 to >=4.5.6

[DEPS](deps-dev): Update jupyterlab requirement from >=4.0 to >=4.5.6 #12

Workflow file for this run

name: Run tests
on:
push:
branches: [ "main" ]
paths:
- '**.py'
- 'template_project/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements*.txt'
- '.pre-commit-config.yaml'
pull_request:
branches: [ "main" ]
paths:
- '**.py'
- 'template_project/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements*.txt'
- '.pre-commit-config.yaml'
jobs:
test:
name: ${{ matrix.os }} / Py ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Testing across all selected supported versions from your spec
python-version: ["3.9", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install package
run: |
python -m pip install -e .[dev] --force-reinstall --prefer-binary
- name: Test with pytest
run: |
pytest