Skip to content

Quick fix to future proof for numpy 2 #551

Quick fix to future proof for numpy 2

Quick fix to future proof for numpy 2 #551

Workflow file for this run

name: Run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package and test requirements
run: |
pip install -e .[tests]
pip check
- name: Run tests
run: pytest --cov=cdflib
- name: Upload code coverage
uses: codecov/codecov-action@v3