Skip to content

VC3D: link fibers in two gestures (Fiber Map "Link A and B", in-dialog link from a fiber-intersection X) #1067

VC3D: link fibers in two gestures (Fiber Map "Link A and B", in-dialog link from a fiber-intersection X)

VC3D: link fibers in two gestures (Fiber Map "Link A and B", in-dialog link from a fiber-intersection X) #1067

Workflow file for this run

name: Test vesuvius Python
on:
pull_request:
paths:
- 'vesuvius/**'
- 'lasagna/**'
# Local source dependencies installed by uv sync --extra all.
- 'volume-cartographer/**'
- 'segmentation/models/batchgeneratorsv2/**'
- 'segmentation/models/arch/nnunet/**'
- '.github/workflows/test-vesuvius.yml'
jobs:
test-vesuvius-python:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Limit the test matrix to ubuntu-latest for now, as other platforms may not
# support all dependencies yet. Extend this list once the build scripts
# for macOS and Windows are confirmed.
os: [ubuntu-latest]
zarr: ['2.18.7', '3.2.1']
defaults:
run:
shell: bash
working-directory: ./vesuvius
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install native build dependencies on Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
# Native dependency closure for volume-cartographer's Python-only
# scikit-build configuration (apps, UI tracer, flatboi, tests: OFF).
# qt6-base-dev: utils links Qt6::Core (SFTP remote access, #1941).
sudo apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
libblosc-dev \
libboost-dev \
libceres-dev \
libcurl4-openssl-dev \
libeigen3-dev \
liblz4-dev \
libopencv-contrib-dev \
libopencv-dev \
libsuitesparse-dev \
libtiff-dev \
libzstd-dev \
ninja-build \
nlohmann-json3-dev \
pkg-config \
qt6-base-dev \
zlib1g-dev
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Sync dependencies
run: uv sync --extra all
- name: Select Zarr version
run: uv pip install "zarr==${{ matrix.zarr }}"
- name: Run tests
env:
PYTHONPATH: ${{ github.workspace }}
run: uv run --no-sync pytest tests -m "not slow and not network"