Skip to content

Refactored test cases #242

Refactored test cases

Refactored test cases #242

name: Test Unpinned Dependencies
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_wheels:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.12"]
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Set environment variables
# needed for testing the napari plugin
if: matrix.os == 'ubuntu-latest'
run: echo "QT_QPA_PLATFORM=offscreen" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: ${{ matrix.python-version }}
- name: Install Developer Dependencies
run: pip install .[dev]
- name: List dependencies
run: pip freeze
- name: Pytest
run: pytest -n auto