mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
ci: change caching
This commit is contained in:
parent
a632486865
commit
c51b3f436d
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -87,9 +87,7 @@ jobs:
|
|||||||
# for ways to do this more generally
|
# for ways to do this more generally
|
||||||
path: ~/Library/Caches/pip
|
path: ~/Library/Caches/pip
|
||||||
# Look to see if there is a cache hit for the corresponding requirements file
|
# Look to see if there is a cache hit for the corresponding requirements file
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ matrix.arch }}-${{ hashFiles('tests/requirements.txt') }}
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pip-
|
|
||||||
|
|
||||||
- name: Prepare env
|
- name: Prepare env
|
||||||
run: python -m pip install -r tests/requirements.txt
|
run: python -m pip install -r tests/requirements.txt
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
|
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
|
||||||
numpy; platform_python_implementation!="PyPy" or sys_platform!="darwin" or python_version<"3.0"
|
numpy==1.16.6; python_version<"3.6"
|
||||||
numpy<1.19; platform_python_implementation=="PyPy" and sys_platform=="darwin" and python_version>="3.0"
|
numpy==1.18.0; platform_python_implementation=="PyPy" and sys_platform=="darwin" and python_version>="3.6"
|
||||||
pytest
|
numpy==1.19.1; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version>="3.6"
|
||||||
scipy; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version<"3.9"
|
pytest==4.6.9; python_version<"3.5"
|
||||||
|
pytest==5.4.3; python_version>="3.5"
|
||||||
|
scipy==1.2.3; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version<"3.6"
|
||||||
|
scipy==1.5.2; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version>="3.6" and python_version<"3.9"
|
||||||
|
Loading…
Reference in New Issue
Block a user