Bump egor-tensin/cleanup-path from 3 to 4 (#52) #30
This file contains 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: 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 numpy platformdirs cpyparsing | |
- uses: fortran-lang/setup-fortran@v1 | |
id: setup-fortran | |
with: | |
compiler: ${{ matrix.toolchain.compiler }} | |
version: ${{ matrix.toolchain.version }} | |
- name: Build | |
run: pypy3 -m pip install . | |
- name: Test | |
run: pypy3 -m pytest -v |