-
Notifications
You must be signed in to change notification settings - Fork 11
32 lines (30 loc) · 1.08 KB
/
pypy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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-latest]
steps:
- name: Check out source
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Test installation (Ubuntu)
run: |
python3 -c "import urllib.request; urllib.request.urlretrieve ('https://downloads.python.org/pypy/pypy3.10-v7.3.17-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.17-linux64/bin/pypy3 -m ensurepip
./pypy3.10-v7.3.17-linux64/bin/pypy3 -m pip install pip setuptools --upgrade
./pypy3.10-v7.3.17-linux64/bin/pypy3 -m pip install . --no-deps -vv
./pypy3.10-v7.3.17-linux64/bin/pypy3 -c "import iteration_utilities"
./pypy3.10-v7.3.17-linux64/bin/pypy3 -m pip install pytest
./pypy3.10-v7.3.17-linux64/bin/pypy3 -m pytest tests