File tree Expand file tree Collapse file tree 5 files changed +102
-12
lines changed Expand file tree Collapse file tree 5 files changed +102
-12
lines changed Original file line number Diff line number Diff line change @@ -26,25 +26,26 @@ jobs:
26
26
- name : Cache conda
27
27
uses : actions/cache@v1
28
28
env :
29
- # Increase this value to reset cache if environment-dev.yml has not changed
29
+ # Increase this value to reset cache if environment-dev-py38 .yml has not changed
30
30
CACHE_NUMBER : 0
31
31
with :
32
32
path : ~/conda_pkgs_dir
33
33
key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
34
- hashFiles('environment-dev.yml') }}
34
+ hashFiles('conda-envs/ environment-dev-py38 .yml') }}
35
35
- uses : conda-incubator/setup-miniconda@v2
36
36
with :
37
- activate-environment : pymc3-dev
37
+ activate-environment : pymc3-dev-py38
38
38
channel-priority : strict
39
- environment-file : environment-dev.yml
39
+ environment-file : conda-envs/ environment-dev-py38 .yml
40
40
use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
41
41
- name : Install pymc3
42
42
run : |
43
- conda activate pymc3-dev
43
+ conda activate pymc3-dev-py38
44
44
pip install -e .
45
+ python --version
45
46
- name : Install latest arviz
46
47
run : |
47
- conda activate pymc3-dev
48
+ conda activate pymc3-dev-py38
48
49
conda remove arviz -y
49
50
pip install git+git://github.com/arviz-devs/arviz.git
50
51
- name : Run tests
Original file line number Diff line number Diff line change @@ -66,25 +66,25 @@ jobs:
66
66
- name : Cache conda
67
67
uses : actions/cache@v1
68
68
env :
69
- # Increase this value to reset cache if environment-dev.yml has not changed
69
+ # Increase this value to reset cache if environment-dev-py36 .yml has not changed
70
70
CACHE_NUMBER : 0
71
71
with :
72
72
path : ~/conda_pkgs_dir
73
73
key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
74
- hashFiles('environment-dev.yml') }}
74
+ hashFiles('conda-envs/ environment-dev-py36 .yml') }}
75
75
- uses : conda-incubator/setup-miniconda@v2
76
76
with :
77
- activate-environment : pymc3-dev
77
+ activate-environment : pymc3-dev-py36
78
78
channel-priority : strict
79
- environment-file : environment-dev.yml
79
+ environment-file : conda-envs/ environment-dev-py36 .yml
80
80
use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
81
81
- name : Install-pymc3
82
82
run : |
83
- conda activate pymc3-dev
83
+ conda activate pymc3-dev-py36
84
84
pip install -e .
85
85
- name : Run tests
86
86
run : |
87
- conda activate pymc3-dev
87
+ conda activate pymc3-dev-py36
88
88
python -m pytest -vv --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
89
89
- name : Upload coverage to Codecov
90
90
uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change
1
+ name : pymc3-dev-py36
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ - python=3.6
7
+ - arviz>=0.9
8
+ - theano-pymc==1.0.11
9
+ - numpy>=1.13
10
+ - scipy>=0.18
11
+ - pandas>=0.18
12
+ - patsy>=0.5
13
+ - fastprogress>=0.2
14
+ - h5py>=2.7
15
+ - typing-extensions>=3.7
16
+ - python-graphviz
17
+ - ipython>=7.16
18
+ - nbsphinx>=0.4
19
+ - numpydoc>=0.9
20
+ - pre-commit>=2.8.0
21
+ - pytest-cov>=2.5
22
+ - pytest>=3.0
23
+ - recommonmark>=0.4
24
+ - sphinx-autobuild>=0.7
25
+ - sphinx>=1.5
26
+ - watermark
27
+ - dataclasses # python_version < 3.7
28
+ - contextvars # python_version < 3.7
29
+ - mkl-service
30
+ - dill
31
+ - libblas=*=*mkl
Original file line number Diff line number Diff line change
1
+ name : pymc3-dev-py37
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ - python=3.7
7
+ - arviz>=0.9
8
+ - theano-pymc==1.0.11
9
+ - numpy>=1.13
10
+ - scipy>=0.18
11
+ - pandas>=0.18
12
+ - patsy>=0.5
13
+ - fastprogress>=0.2
14
+ - h5py>=2.7
15
+ - typing-extensions>=3.7
16
+ - python-graphviz
17
+ - ipython>=7.16
18
+ - nbsphinx>=0.4
19
+ - numpydoc>=0.9
20
+ - pre-commit>=2.8.0
21
+ - pytest-cov>=2.5
22
+ - pytest>=3.0
23
+ - recommonmark>=0.4
24
+ - sphinx-autobuild>=0.7
25
+ - sphinx>=1.5
26
+ - watermark
27
+ - mkl-service
28
+ - dill
29
+ - libblas=*=*mkl
Original file line number Diff line number Diff line change
1
+ name : pymc3-dev-py38
2
+ channels :
3
+ - conda-forge
4
+ - defaults
5
+ dependencies :
6
+ - python=3.8
7
+ - arviz>=0.9
8
+ - theano-pymc==1.0.11
9
+ - numpy>=1.13
10
+ - scipy>=0.18
11
+ - pandas>=0.18
12
+ - patsy>=0.5
13
+ - fastprogress>=0.2
14
+ - h5py>=2.7
15
+ - typing-extensions>=3.7
16
+ - python-graphviz
17
+ - ipython>=7.16
18
+ - nbsphinx>=0.4
19
+ - numpydoc>=0.9
20
+ - pre-commit>=2.8.0
21
+ - pytest-cov>=2.5
22
+ - pytest>=3.0
23
+ - recommonmark>=0.4
24
+ - sphinx-autobuild>=0.7
25
+ - sphinx>=1.5
26
+ - watermark
27
+ - mkl-service
28
+ - dill
29
+ - libblas=*=*mkl
You can’t perform that action at this time.
0 commit comments