Skip to content

ci: add test with pytest #2

ci: add test with pytest

ci: add test with pytest #2

Workflow file for this run

name: Test h5sparse
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] # , "pypy3.9", "pypy3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install .
- name: Test using pytest
run: |
python -m pip install pytest
pytest -v