Skip to content

np.nan fix

np.nan fix #28

Workflow file for this run

name: codecov
on:
pull_request:
branches-ignore:
- main
push:
branches:
- main
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.13', '3.12', 3.11', '3.10', '3.9']
env:
OS: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
node-version: 16
- name: Install dependencies
run: |
pip install -r requirements.txt --use-pep517
pip install -r requirements_test.txt --use-pep517
python setup.py sdist bdist_wheel
pip install dist/*.whl
- name: Run tests and collect coverage
run: python -m pytest tests/ --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3