Skip to content

Commit

Permalink
Add pypy test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Jan 21, 2024
1 parent 8683ce7 commit 6ae0704
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PyPy
on: [push, pull_request]

jobs:
pypy:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- {compiler: gcc, version: 12}

steps:
- uses: actions/checkout@v4
- name: Set up PyPy
uses: actions/setup-python@v5
with:
python-version: 'pypy3.9'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build wheel pytest
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: Build and test
run:
pypy3 -m build .
pypy3 -m pytest -v

0 comments on commit 6ae0704

Please sign in to comment.