File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 57
57
with :
58
58
python-version : ${{ matrix.python }}
59
59
60
+ - name : Cache wheels
61
+ if : startsWith(runner.os, 'macOS')
62
+ uses : actions/cache@v2
63
+ with :
64
+ # This path is specific to macOS - we really only need it for PyPy NumPy wheels
65
+ # See https://github.com/actions/cache/blob/master/examples.md#python---pip
66
+ # for ways to do this more generally
67
+ path : ~/Library/Caches/pip
68
+ # Look to see if there is a cache hit for the corresponding requirements file
69
+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
70
+ restore-keys : |
71
+ ${{ runner.os }}-pip-
72
+
60
73
- name : Prepare env
61
74
run : python -m pip install -r tests/requirements.txt
62
75
Original file line number Diff line number Diff line change 1
1
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
2
2
numpy ; platform_python_implementation != "PyPy" or sys_platform!="darwin" or python_version<"3.0"
3
+ numpy < 1.19 ; platform_python_implementation == "PyPy" and sys_platform=="darwin" and python_version>="3.0"
3
4
pytest
You can’t perform that action at this time.
0 commit comments