File tree 1 file changed +25
-20
lines changed 1 file changed +25
-20
lines changed Original file line number Diff line number Diff line change @@ -57,23 +57,28 @@ jobs:
57
57
run :
58
58
shell : bash -l {0}
59
59
steps :
60
- - uses : actions/checkout@v2
61
- - name : Cache conda
62
- uses : actions/cache@v1
63
- env :
64
- # Increase this value to reset cache if environment-dev.yml has not changed
65
- CACHE_NUMBER : 0
66
- with :
67
- path : ~/conda_pkgs_dir
68
- key :
69
- ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
70
- hashFiles('environment-dev.yml') }}
71
- - uses : conda-incubator/setup-miniconda@v2
72
- with :
73
- activate-environment : testenv
74
- channel-priority : strict
75
- environment-file : environment-dev.yml
76
- use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
77
- - run : |
78
- conda activate testenv
79
- python -m pytest -v --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
60
+ - uses : actions/checkout@v2
61
+ - name : Cache conda
62
+ uses : actions/cache@v1
63
+ env :
64
+ # Increase this value to reset cache if environment-dev.yml has not changed
65
+ CACHE_NUMBER : 0
66
+ with :
67
+ path : ~/conda_pkgs_dir
68
+ key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
69
+ hashFiles('environment-dev.yml') }}
70
+ - uses : conda-incubator/setup-miniconda@v2
71
+ with :
72
+ activate-environment : testenv
73
+ channel-priority : strict
74
+ environment-file : environment-dev.yml
75
+ use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
76
+ - run : |
77
+ conda activate testenv
78
+ python -m pytest -v --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
79
+ - name : Upload coverage to Codecov
80
+ uses : codecov/codecov-action@v1
81
+ with :
82
+ env_vars : OS,PYTHON
83
+ name : codecov-umbrella
84
+ fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments