Skip to content

convert ccf display from itkwidgets to javascript widgets #139

convert ccf display from itkwidgets to javascript widgets

convert ccf display from itkwidgets to javascript widgets #139

Workflow file for this run

name: test-env
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
workflow_dispatch:
jobs:
test-env:
runs-on:
group: LargerInstance
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install system build tools
run: |
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y g++
else
apt-get update
apt-get install -y g++
fi
- name: Create isolated virtual environment
run: |
python -m venv .venv
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
- name: Install environment from repo files (pip-only)
# requirements-ci.txt is generated by:
# uv export --frozen --extra dev --no-hashes --no-editable --no-emit-project -o requirements-ci.txt
# Re-run that command after any change to pyproject.toml / uv.lock.
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements-ci.txt
python -m pip install -e . --no-deps
python -m pip install -U mystmd
- name: Environment smoke test (fail fast)
run: |
python -m pip check
python -c "
import importlib
import pkgutil
# Test core dependencies
for mod in ['numpy', 'pandas', 'scipy', 'pynwb', 'nway']:
importlib.import_module(mod)
# Test all databook_utils submodules
import databook_utils
for mod in pkgutil.walk_packages(databook_utils.__path__, databook_utils.__name__ + '.'):
importlib.import_module(mod.name)
print('βœ“ Environment smoke test passed')
"
- name: Build documentation
run: |
myst clean --all
myst build --html
- name: Print environment snapshot
run: python -m pip freeze