Skip to content

Fixes np.NINF deprecation issue since numpy v2.0.0. #89

Fixes np.NINF deprecation issue since numpy v2.0.0.

Fixes np.NINF deprecation issue since numpy v2.0.0. #89

Workflow file for this run

name: Publish Python package
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine build
pip install -r requirements.txt
- name: Publish on Pypi
if: startsWith(github.ref, 'refs/tags/')
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python3 -m build
twine upload dist/*.tar.gz