Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
c51b3f43
Commit
c51b3f43
authored
Jul 26, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Jul 27, 2020
Browse files
ci: change caching
parent
a6324868
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
.github/workflows/ci.yml
.github/workflows/ci.yml
+1
-3
tests/requirements.txt
tests/requirements.txt
+7
-4
No files found.
.github/workflows/ci.yml
View file @
c51b3f43
...
...
@@ -87,9 +87,7 @@ jobs:
# for ways to do this more generally
path
:
~/Library/Caches/pip
# Look to see if there is a cache hit for the corresponding requirements file
key
:
${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys
:
|
${{ runner.os }}-pip-
key
:
${{ runner.os }}-pip-${{ matrix.python }}-${{ matrix.arch }}-${{ hashFiles('tests/requirements.txt') }}
-
name
:
Prepare env
run
:
python -m pip install -r tests/requirements.txt
...
...
tests/requirements.txt
View file @
c51b3f43
--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.19; platform_python_implementation=="PyPy" and sys_platform=="darwin" and python_version>="3.0"
pytest
scipy; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version<"3.9"
numpy==1.16.6; python_version<"3.6"
numpy==1.18.0; platform_python_implementation=="PyPy" and sys_platform=="darwin" and python_version>="3.6"
numpy==1.19.1; (platform_python_implementation!="PyPy" or sys_platform!="darwin") and python_version>="3.6"
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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment