Skip to content

coalesce all utils in wsi/utils.py; less exposed methods; more docstr… #11

coalesce all utils in wsi/utils.py; less exposed methods; more docstr…

coalesce all utils in wsi/utils.py; less exposed methods; more docstr… #11

Workflow file for this run

name: Pytest testing
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y openslide-tools
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest wsi --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html