Skip to content

add mesh colorfield visualization support #326

add mesh colorfield visualization support

add mesh colorfield visualization support #326

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Test import
run: |
python -c "import compas_slicer; print('COMPAS Slicer version: ' + compas_slicer.__version__)"
- name: Lint with ruff
run: |
ruff check src/
- name: Type check with mypy
run: |
mypy src/compas_slicer --ignore-missing-imports
- name: Test with pytest
run: |
pytest tests/ -v