Skip to content

Merge pull request #5 from janelia-cellmap/latest #67

Merge pull request #5 from janelia-cellmap/latest

Merge pull request #5 from janelia-cellmap/latest #67

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest, macos-latest]
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: |
pip install ".[dev]"
- name: Test with pytest
run: |
pytest --color=yes --cov=cellmap_models --cov-report=xml --cov-report=term-missing tests
# Coverage should work out of the box for public repos. For private repos, more setup is likely required.
- name: Coverage
uses: codecov/codecov-action@v4