Skip to content

Bump pypa/cibuildwheel from 2.21.3 to 2.22.0 #26

Bump pypa/cibuildwheel from 2.21.3 to 2.22.0

Bump pypa/cibuildwheel from 2.21.3 to 2.22.0 #26

Workflow file for this run

name: Run memory leak tests
# Build on every branch push, tag push, and pull request change:
on:
push:
pull_request:
schedule:
# 00:00 UTC every Saturday, don't bother anyone
- cron: '0 0 * * 6'
jobs:
memleak_tests:
name: Build memory leak tests (${{ matrix.os }}, ${{ matrix.python_version }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-12]
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: ${{ matrix.python_version }}
- name: Install build test dependencies
run: pip install setuptools
- name: Install Yajl
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install libyajl-dev
- name: Build ijson
env:
IJSON_EMBED_YAJL: ${{ matrix.os != 'ubuntu-latest' && '1' || '0' }}
run: python setup.py develop
- name: Install test dependencies
run: pip install -r test-requirements.txt
- name: Run memory leak tests
run: pytest --memleaks-only -v