Skip to content

Numpy 2.0 support

Numpy 2.0 support #81

Workflow file for this run

# run tests, generate coverage report and upload to codecov
name: tests
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -U numpy setuptools
pip install -U -e .[test]
- name: Run tests and generate Report
run: |
python -m pytest tests --cov=src/ --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true