Skip to content

Commit

Permalink
add separated testing workflow for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed May 19, 2024
1 parent 5dd369d commit 9476955
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/testpypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test pypy without C-extensions

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['pypy-3.9']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pypy -m pip install --upgrade pip
# Excluding Cython to test the pure Python version.
pypy -m pip install setuptools wheel
- name: Install without C-extensions
run: |
pypy -m pip install --no-build-isolation .
- name: Test pypy without C-extensions
run: |
# install test dependencies
pypy -m pip install pytest Pillow
pypy -m pytest tests integration_tests

0 comments on commit 9476955

Please sign in to comment.