diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 00000000..c66eed9b --- /dev/null +++ b/.github/workflows/pytest.yml @@ -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