Skip to content

t test pypy

t test pypy #21

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test ${{ matrix.os }}-${{ matrix.pyver }}-${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
pyver: '3.13'
arch: x64
- os: ubuntu-latest
pyver: 'pypy-3.11'
arch: x64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyver }}
architecture: ${{ matrix.arch }}
- name: Install package dependency (if needed)
if: matrix.pyver == '3.13t'
run: |
sudo apt update
sudo apt install -y libxml2-dev libxslt1-dev
- name: Install package
run: pip install .
- name: Run tests
run: python -m unittest -v -k test_pypy