Skip to content

Created empty __init__.py inside tests to record coverage #4

Created empty __init__.py inside tests to record coverage

Created empty __init__.py inside tests to record coverage #4

Workflow file for this run

name: Run Tests on push
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install ependencies
run: |
python -m pip install --upgrade pip
pip install torch==1.13.1+cpu torchvision==0.14.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu
pip install tqdm==4.66.1
pip install tifffile==2023.9.26
pip install .
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest tests --cov=zarrdataset