requirements: add caveclient and cloud-volume to "notebook-test" #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tutorials | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# This cancels any such job that is still running | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install graphviz | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \ | |
libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \ | |
libxcb-xinerama0 libxcb-xinput0 graphviz graphviz-dev \ | |
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers \ | |
libxcb-cursor0 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pathos pygraphviz neuron cloud-volume k3d scikit-image open3d | |
python -m pip install -e .[test-notebook,all] | |
- name: Run tutorials | |
uses: coactions/setup-xvfb@v1 | |
env: | |
NEUPRINT_APPLICATION_CREDENTIALS: ${{ secrets.neuprint }} | |
INSECT_BRAIN_DB_USER: ${{ secrets.insect_brain_db_user }} | |
INSECT_BRAIN_DB_PASSWORD: ${{ secrets.insect_brain_db_password }} | |
NAVIS_PLOT3D_BACKEND: plotly | |
QT_QPA_PLATFORM: offscreen | |
with: | |
run: | | |
python tests/test_tutorials.py |