Skip to content

Add CLI interface and PyPI package structure with production-ready filesystem compatibility #44

Add CLI interface and PyPI package structure with production-ready filesystem compatibility

Add CLI interface and PyPI package structure with production-ready filesystem compatibility #44

Workflow file for this run

name: Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
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: Run module output tests
run: |
python tests/test_module_outputs.py
- name: Run CellProfiler subprocess tests
run: |
python tests/test_cellprofiler_subprocess.py
- name: Test CLI help commands
run: |
cellpyability --help
cellpyability gda --help
cellpyability synergy --help
cellpyability simple --help