@@ -107,12 +107,12 @@ jobs:
107107 - name : Cache conda
108108 uses : actions/cache@v1
109109 env :
110- # Increase this value to reset cache if environment-dev -py37.yml has not changed
110+ # Increase this value to reset cache if environment-test -py37.yml has not changed
111111 CACHE_NUMBER : 0
112112 with :
113113 path : ~/conda_pkgs_dir
114114 key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
115- hashFiles('conda-envs/environment-dev -py37.yml') }}
115+ hashFiles('conda-envs/environment-test -py37.yml') }}
116116 - name : Cache multiple paths
117117 uses : actions/cache@v2
118118 env :
@@ -127,19 +127,19 @@ jobs:
127127 hashFiles('requirements.txt') }}
128128 - uses : conda-incubator/setup-miniconda@v2
129129 with :
130- activate-environment : pymc-dev -py37
130+ activate-environment : pymc-test -py37
131131 channel-priority : strict
132- environment-file : conda-envs/environment-dev -py37.yml
132+ environment-file : conda-envs/environment-test -py37.yml
133133 use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
134134 - name : Install-pymc
135135 run : |
136- conda activate pymc-dev -py37
136+ conda activate pymc-test -py37
137137 pip install -e .
138138 pip install --pre -U polyagamma
139139 python --version
140140 - name : Run tests
141141 run : |
142- conda activate pymc-dev -py37
142+ conda activate pymc-test -py37
143143 python -m pytest -vv --cov=pymc --cov-append --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
144144 - name : Upload coverage to Codecov
145145 uses : codecov/codecov-action@v1
@@ -186,12 +186,12 @@ jobs:
186186 - name : Cache conda
187187 uses : actions/cache@v1
188188 env :
189- # Increase this value to reset cache if conda-envs/environment-dev -py38.yml has not changed
189+ # Increase this value to reset cache if conda-envs/environment-test -py38.yml has not changed
190190 CACHE_NUMBER : 0
191191 with :
192192 path : ~/conda_pkgs_dir
193193 key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
194- hashFiles('conda-envs/windows-environment-dev -py38.yml') }}
194+ hashFiles('conda-envs/windows-environment-test -py38.yml') }}
195195 - name : Cache multiple paths
196196 uses : actions/cache@v2
197197 env :
@@ -206,19 +206,19 @@ jobs:
206206 hashFiles('requirements.txt') }}
207207 - uses : conda-incubator/setup-miniconda@v2
208208 with :
209- activate-environment : pymc-dev -py38
209+ activate-environment : pymc-test -py38
210210 channel-priority : strict
211- environment-file : conda-envs/windows-environment-dev -py38.yml
211+ environment-file : conda-envs/windows-environment-test -py38.yml
212212 use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
213213 - name : Install-pymc
214214 run : |
215- conda activate pymc-dev -py38
215+ conda activate pymc-test -py38
216216 pip install -e .
217217 pip install --pre -U polyagamma
218218 python --version
219219 - name : Run tests
220220 # This job uses a cmd shell, therefore the environment variable syntax is different!
221221 # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
222222 run : >-
223- conda activate pymc-dev -py38 &&
223+ conda activate pymc-test -py38 &&
224224 python -m pytest -vv --cov=pymc --cov-append --cov-report=xml --cov-report term --durations=50 %TEST_SUBSET%
0 commit comments