Skip to content

Add Python 3.11 to GHA #31

Add Python 3.11 to GHA

Add Python 3.11 to GHA #31

Workflow file for this run

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