Skip to content

Commit

Permalink
ci: run python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Mar 24, 2024
1 parent 6cd33b1 commit 28377d9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

name: pytest

on: [push, pull_request, workflow_dispatch]

jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.x']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Deps
run: pip install pytest pytest-cov numpy
- name: Test
run: cd src/python && python -m pytest -v --log-level=DEBUG

0 comments on commit 28377d9

Please sign in to comment.