add pruning of dead pthreads #101
Workflow file for this run
This file contains hidden or 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: test | |
| on: | |
| push: | |
| branches: [master, unstuck-vmprof] | |
| pull_request: | |
| branches: [master, unstuck-vmprof] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| pull-requests: write | |
| name: ${{ matrix.os }} - ${{ matrix.python }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Test all supported versions on Ubuntu: | |
| os: [ubuntu-latest] | |
| python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15.0-rc.2", "pypy-3.11"] | |
| experimental: [false] | |
| include: | |
| # Windows on the earliest and latest supported versions: | |
| - os: windows-latest | |
| python: "3.9" | |
| experimental: false | |
| - os: windows-latest | |
| python: "3.15.0-rc.2" | |
| experimental: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install libunwind | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt install -y libunwind-dev | |
| pkg-config libunwind --cflags --libs-only-l | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install . | |
| python -m pip install --group test | |
| - name: Display Python version | |
| run: python -c "import sys; print(sys.version)" | |
| - name: Run Tests | |
| id: vmprof | |
| run: python -m pytest -v vmprof jitlog | |