Skip to content

Commit

Permalink
Add GitHub Action to run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jul 26, 2024
1 parent fb6e5dc commit 0cf3000
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: pytest
on:
push:
pull_request:
workflow_dispatch:
jobs:
pytest:
strategy:
fail-fast: false
matrix: # https://github.com/actions/python-versions/releases
python-version: ["3.8", "3.10", "3.12", "3.13", "pypy-3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: pip install --upgrade pip setuptools
- run: pip install pytest
- run: pip install --editable .
- run: pytest

0 comments on commit 0cf3000

Please sign in to comment.