File tree Expand file tree Collapse file tree 9 files changed +36
-78
lines changed Expand file tree Collapse file tree 9 files changed +36
-78
lines changed Original file line number Diff line number Diff line change 33
33
path : ~/conda_pkgs_dir
34
34
key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
35
35
hashFiles('conda-envs/environment-dev-py38.yml') }}
36
+ - name : Cache multiple paths
37
+ uses : actions/cache@v2
38
+ env :
39
+ # Increase this value to reset cache if requirements.txt has not changed
40
+ CACHE_NUMBER : 0
41
+ with :
42
+ path : |
43
+ ~/.cache/pip
44
+ $RUNNER_TOOL_CACHE/Python/*
45
+ ~\AppData\Local\pip\Cache
46
+ key : ${{ runner.os }}-build-${{ matrix.python-version }}-${{
47
+ hashFiles('requirements.txt') }}
36
48
- uses : conda-incubator/setup-miniconda@v2
37
49
with :
38
50
activate-environment : pymc3-dev-py38
Original file line number Diff line number Diff line change 74
74
path : ~/conda_pkgs_dir
75
75
key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
76
76
hashFiles('conda-envs/environment-dev-py36.yml') }}
77
+ - name : Cache multiple paths
78
+ uses : actions/cache@v2
79
+ env :
80
+ # Increase this value to reset cache if requirements.txt has not changed
81
+ CACHE_NUMBER : 0
82
+ with :
83
+ path : |
84
+ ~/.cache/pip
85
+ $RUNNER_TOOL_CACHE/Python/*
86
+ ~\AppData\Local\pip\Cache
87
+ key : ${{ runner.os }}-build-${{ matrix.python-version }}-${{
88
+ hashFiles('requirements.txt') }}
77
89
- uses : conda-incubator/setup-miniconda@v2
78
90
with :
79
91
activate-environment : pymc3-dev-py36
Original file line number Diff line number Diff line change 32
32
path : ~/conda_pkgs_dir
33
33
key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
34
34
hashFiles('conda-envs/environment-dev-py37.yml') }}
35
+ - name : Cache multiple paths
36
+ uses : actions/cache@v2
37
+ env :
38
+ # Increase this value to reset cache if requirements.txt has not changed
39
+ CACHE_NUMBER : 0
40
+ with :
41
+ path : |
42
+ ~/.cache/pip
43
+ $RUNNER_TOOL_CACHE/Python/*
44
+ ~\AppData\Local\pip\Cache
45
+ key : ${{ runner.os }}-build-${{ matrix.python-version }}-${{
46
+ hashFiles('requirements.txt') }}
35
47
- uses : conda-incubator/setup-miniconda@v2
36
48
with :
37
49
activate-environment : pymc3-dev-py37
Original file line number Diff line number Diff line change @@ -69,13 +69,6 @@ repos:
69
69
language : python
70
70
name : Sort dependencies in conda envs
71
71
types : [yaml]
72
- - id : pin-theano-pymc
73
- additional_dependencies : [pyyaml]
74
- entry : python scripts/pin_theano.py
75
- files : ^conda-envs/
76
- language : python
77
- name : Check theano-pymc versions match the one in requirements.txt
78
- types : [yaml]
79
72
- id : pip-to-conda
80
73
additional_dependencies : [pyyaml]
81
74
entry : python scripts/generate_pip_deps_from_conda.py
Original file line number Diff line number Diff line change @@ -3,29 +3,20 @@ channels:
3
3
- conda-forge
4
4
- defaults
5
5
dependencies :
6
- - arviz>=0.9
7
6
- contextvars
8
7
- dataclasses
9
- - dill
10
- - fastprogress>=0.2
11
8
- h5py>=2.7
12
9
- ipython>=7.16
13
10
- libblas=*=*mkl
14
11
- mkl-service
15
12
- nbsphinx>=0.4
16
- - numpy>=1.13
17
13
- numpydoc>=0.9
18
- - pandas>=0.18
19
- - patsy>=0.5
20
14
- pre-commit>=2.8.0
21
15
- pytest-cov>=2.5
22
16
- pytest>=3.0
23
17
- python-graphviz
24
18
- python=3.6
25
19
- recommonmark>=0.4
26
- - scipy>=0.18
27
20
- sphinx-autobuild>=0.7
28
21
- sphinx>=1.5
29
- - theano-pymc=1.0.12
30
- - typing-extensions>=3.7
31
22
- watermark
Original file line number Diff line number Diff line change @@ -3,27 +3,18 @@ channels:
3
3
- conda-forge
4
4
- defaults
5
5
dependencies :
6
- - arviz>=0.9
7
- - dill
8
- - fastprogress>=0.2
9
6
- h5py>=2.7
10
7
- ipython>=7.16
11
8
- libblas=*=*mkl
12
9
- mkl-service
13
10
- nbsphinx>=0.4
14
- - numpy>=1.13
15
11
- numpydoc>=0.9
16
- - pandas>=0.18
17
- - patsy>=0.5
18
12
- pre-commit>=2.8.0
19
13
- pytest-cov>=2.5
20
14
- pytest>=3.0
21
15
- python-graphviz
22
16
- python=3.7
23
17
- recommonmark>=0.4
24
- - scipy>=0.18
25
18
- sphinx-autobuild>=0.7
26
19
- sphinx>=1.5
27
- - theano-pymc=1.0.12
28
- - typing-extensions>=3.7
29
20
- watermark
Original file line number Diff line number Diff line change @@ -3,27 +3,18 @@ channels:
3
3
- conda-forge
4
4
- defaults
5
5
dependencies :
6
- - arviz>=0.9
7
- - dill
8
- - fastprogress>=0.2
9
6
- h5py>=2.7
10
7
- ipython>=7.16
11
8
- libblas=*=*mkl
12
9
- mkl-service
13
10
- nbsphinx>=0.4
14
- - numpy>=1.13
15
11
- numpydoc>=0.9
16
- - pandas>=0.18
17
- - patsy>=0.5
18
12
- pre-commit>=2.8.0
19
13
- pytest-cov>=2.5
20
14
- pytest>=3.0
21
15
- python-graphviz
22
16
- python=3.8
23
17
- recommonmark>=0.4
24
- - scipy>=0.18
25
18
- sphinx-autobuild>=0.7
26
19
- sphinx>=1.5
27
- - theano-pymc=1.0.12
28
- - typing-extensions>=3.7
29
20
- watermark
Original file line number Diff line number Diff line change 1
1
# This file is auto-generated from environment-dev-py38.yml, do not modify.
2
2
# See that file for comments about the need/usage of each dependency.
3
3
4
- arviz >= 0.9
5
- dill
6
- fastprogress >= 0.2
7
4
h5py >= 2.7
8
5
ipython >= 7.16
9
6
nbsphinx >= 0.4
10
- numpy >= 1.13
11
7
numpydoc >= 0.9
12
- pandas >= 0.18
13
- patsy >= 0.5
14
8
pre-commit >= 2.8.0
15
9
pytest-cov >= 2.5
16
10
pytest >= 3.0
17
11
recommonmark >= 0.4
18
- scipy >= 0.18
19
12
sphinx-autobuild >= 0.7
20
13
sphinx >= 1.5
21
- theano-pymc == 1.0.12
22
- typing-extensions >= 3.7
23
14
watermark
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments