Add Python 3.11 to GHA #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyPy | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["pypy2.7", "pypy3.9", "pypy3.10"] | |
name: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install test dependencies | |
run: pip install cffi flake8 pytest wheel | |
- name: Install libsnappy-dev | |
run: sudo apt-get install libsnappy-dev | |
# Flake8 is already run in Source Distribution (sdist) workflow, so we don't run it here. | |
- name: Install python-snappy from source | |
run: pip install -e . | |
- name: Pytest | |
run: pytest --verbose test_snappy.py test_snappy_cffi.py |