Skip to content

Add num_points to fps as an alternative to ratio #161

Add num_points to fps as an alternative to ratio

Add num_points to fps as an alternative to ratio #161

Workflow file for this run

name: Testing
on:
push:
branches:
- master
pull_request:
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.8]
torch-version: [2.2.0, 2.3.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install PyTorch ${{ matrix.torch-version }}
run: |
pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
- name: Install scipy
if: ${{ matrix.python-version == '3.8' }}
run: |
pip install scipy==1.10.1
- name: Install main package
run: |
python setup.py develop
- name: Run test-suite
run: |
pip install pytest pytest-cov
pytest --cov --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4
if: success()
with:
fail_ci_if_error: false