Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build-wheels
name: cibuildwheel

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, unstuck-vmprof ]
branches: [ master ]
pull_request:
branches: [ master, unstuck-vmprof ]
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -52,17 +52,19 @@ jobs:


build_pypy_wheels:
name: Build pypy wheels
name: Build pypy wheels and sdist
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python_version: ['pypy-3.11', 'pypy-3.12']

steps:
# Note: not inside a docker
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: 'pypy-3.11'
python-version: ${{ matrix.python_version }}

- name: Install system libraries
run: sudo apt install -y libunwind-dev libelf-dev libdwarf-dev rename
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test

on:
push:
branches: [master, unstuck-vmprof]
branches: [master]
pull_request:
branches: [master, unstuck-vmprof]
branches: [master]
workflow_dispatch:

jobs:
Expand Down
4 changes: 3 additions & 1 deletion vmprof/test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def test_nested_call():
t = t['']
assert len(t.children) == 1
assert 'function_foo' in t[''].name
if sys.version_info >= (3, 12):
# PEP 709 (inlined comprehensions) is CPython 3.12+, PyPy still creates
# a separate <listcomp> code object and frame.
if sys.version_info >= (3, 12) and '__pypy__' not in sys.builtin_module_names:
assert len(t[''].children) == 0
else:
assert len(t[''].children) == 1
Expand Down
Loading