diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..c1cb45a --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,21 @@ +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.9", "3.10", "3.11", "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 }} + - run: pip install --upgrade pip wheel + - run: pip install aiofiles asynctempfile pytest + - run: pip install --editable . + - run: pytest