Skip to content

Try to fix the RTD builds #400

Try to fix the RTD builds

Try to fix the RTD builds #400

Workflow file for this run

name: Python (Pypy)
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
build-pypy-7-3-13:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: Check out source
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Test installation (Ubuntu)
if: matrix.os == 'ubuntu-20.04'
run: |
python3 -c "import urllib.request; urllib.request.urlretrieve ('https://downloads.python.org/pypy/pypy3.10-v7.3.13-linux64.tar.bz2', './pypy.tar.bz2')"
python3 -c "import tarfile; tar = tarfile.open('./pypy.tar.bz2', 'r:bz2');tar.extractall('.'); tar.close()"
./pypy3.10-v7.3.13-linux64/bin/pypy3 -m ensurepip
./pypy3.10-v7.3.13-linux64/bin/pypy3 -m pip install pip setuptools --upgrade
./pypy3.10-v7.3.13-linux64/bin/pypy3 -m pip install . --no-deps -vv
./pypy3.10-v7.3.13-linux64/bin/pypy3 -c "import iteration_utilities"
./pypy3.10-v7.3.13-linux64/bin/pypy3 -m pip install pytest
./pypy3.10-v7.3.13-linux64/bin/pypy3 -m pytest tests