Skip to content

avoid use internal Path for deprecation; set gh-action to 3.10 only #4

avoid use internal Path for deprecation; set gh-action to 3.10 only

avoid use internal Path for deprecation; set gh-action to 3.10 only #4

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