2424 outputs :
2525 changes : ${{ steps.changes.outputs.src }}
2626 steps :
27- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
27+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
2828 with :
2929 fetch-depth : 0
3030 - uses : dorny/paths-filter@v3
4848 matrix :
4949 os : [ubuntu-20.04]
5050 floatx : [float64]
51- python-version : ["3.11 "]
51+ python-version : ["3.12 "]
5252 test-subset :
5353 - |
5454 tests/test_util.py
@@ -65,10 +65,13 @@ jobs:
6565 - |
6666 tests/distributions/test_continuous.py
6767 tests/distributions/test_multivariate.py
68+ tests/distributions/moments/test_means.py
6869
6970 - |
7071 tests/distributions/test_censored.py
72+ tests/distributions/test_custom.py
7173 tests/distributions/test_simulator.py
74+ tests/sampling/test_deterministic.py
7275 tests/sampling/test_forward.py
7376 tests/sampling/test_population.py
7477 tests/stats/test_convergence.py
@@ -96,10 +99,12 @@ jobs:
9699 tests/model/test_fgraph.py
97100 tests/model/transform/test_basic.py
98101 tests/model/transform/test_conditioning.py
102+ tests/model/transform/test_optimization.py
99103 tests/test_model_graph.py
100104 tests/ode/test_ode.py
101105 tests/ode/test_utils.py
102106 tests/step_methods/hmc/test_quadpotential.py
107+ tests/step_methods/test_state.py
103108
104109 - |
105110 tests/backends/test_mcbackend.py
@@ -111,6 +116,7 @@ jobs:
111116 tests/logprob/test_censoring.py
112117 tests/logprob/test_composite_logprob.py
113118 tests/logprob/test_cumsum.py
119+ tests/logprob/test_linalg.py
114120 tests/logprob/test_mixture.py
115121 tests/logprob/test_order.py
116122 tests/logprob/test_rewriting.py
@@ -129,7 +135,7 @@ jobs:
129135 run :
130136 shell : bash -l {0}
131137 steps :
132- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
138+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
133139 - name : Cache conda
134140 uses : actions/cache@v4
135141 env :
@@ -166,14 +172,16 @@ jobs:
166172 run : |
167173 conda activate pymc-test
168174 pip install -e .
169- pip install --pre -U polyagamma
175+ # TODO: https://github.com/pymc-devs/pymc/issues/7417
176+ pip install --pre -U 'polyagamma<1.3.7'
170177 python --version
178+ conda list
171179 - name : Run tests
172180 run : |
173181 conda activate pymc-test
174182 python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
175183 - name : Upload coverage to Codecov
176- uses : codecov/codecov-action@v3
184+ uses : codecov/codecov-action@v4
177185 with :
178186 token : ${{ secrets.CODECOV_TOKEN }} # use token for more robust uploads
179187 env_vars : TEST_SUBSET
@@ -187,12 +195,12 @@ jobs:
187195 matrix :
188196 os : [windows-latest]
189197 floatx : [float64]
190- python-version : ["3.9 "]
198+ python-version : ["3.10 "]
191199 test-subset :
192200 - tests/variational/test_approximations.py tests/variational/test_callbacks.py tests/variational/test_inference.py tests/variational/test_opvi.py tests/test_initial_point.py
193201 - tests/model/test_core.py tests/sampling/test_mcmc.py
194202 - tests/gp/test_cov.py tests/gp/test_gp.py tests/gp/test_mean.py tests/gp/test_util.py tests/ode/test_ode.py tests/ode/test_utils.py tests/smc/test_smc.py tests/sampling/test_parallel.py
195- - tests/step_methods/test_metropolis.py tests/step_methods/test_slicer.py tests/step_methods/hmc/test_nuts.py tests/step_methods/test_compound.py tests/step_methods/hmc/test_hmc.py
203+ - tests/step_methods/test_metropolis.py tests/step_methods/test_slicer.py tests/step_methods/hmc/test_nuts.py tests/step_methods/test_compound.py tests/step_methods/hmc/test_hmc.py tests/step_methods/test_state.py
196204
197205 fail-fast : false
198206 runs-on : ${{ matrix.os }}
@@ -203,7 +211,7 @@ jobs:
203211 run :
204212 shell : cmd
205213 steps :
206- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
214+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
207215 - name : Cache conda
208216 uses : actions/cache@v4
209217 env :
@@ -240,16 +248,17 @@ jobs:
240248 run : |
241249 conda activate pymc-test
242250 pip install -e .
243- pip install --pre -U polyagamma
251+ pip install --pre -U ' polyagamma<1.3.7'
244252 python --version
253+ conda list
245254 - name : Run tests
246255 # This job uses a cmd shell, therefore the environment variable syntax is different!
247256 # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
248257 run : >-
249258 conda activate pymc-test &&
250259 python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
251260 - name : Upload coverage to Codecov
252- uses : codecov/codecov-action@v3
261+ uses : codecov/codecov-action@v4
253262 with :
254263 token : ${{ secrets.CODECOV_TOKEN }} # use token for more robust uploads
255264 env_vars : TEST_SUBSET
@@ -263,7 +272,7 @@ jobs:
263272 matrix :
264273 os : [macos-latest]
265274 floatx : [float64]
266- python-version : ["3.10 "]
275+ python-version : ["3.12 "]
267276 test-subset :
268277 - |
269278 tests/sampling/test_parallel.py
@@ -286,7 +295,7 @@ jobs:
286295 run :
287296 shell : bash -l {0}
288297 steps :
289- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
298+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
290299 - name : Cache conda
291300 uses : actions/cache@v4
292301 env :
@@ -324,11 +333,12 @@ jobs:
324333 conda activate pymc-test
325334 pip install -e .
326335 python --version
336+ conda list
327337 - name : Run tests
328338 run : |
329339 python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
330340 - name : Upload coverage to Codecov
331- uses : codecov/codecov-action@v3
341+ uses : codecov/codecov-action@v4
332342 with :
333343 token : ${{ secrets.CODECOV_TOKEN }} # use token for more robust uploads
334344 env_vars : TEST_SUBSET
@@ -342,7 +352,7 @@ jobs:
342352 matrix :
343353 os : [ubuntu-20.04]
344354 floatx : [float64]
345- python-version : ["3.11 "]
355+ python-version : ["3.12 "]
346356 test-subset :
347357 - tests/sampling/test_jax.py tests/sampling/test_mcmc_external.py
348358 fail-fast : false
@@ -354,7 +364,7 @@ jobs:
354364 run :
355365 shell : bash -l {0}
356366 steps :
357- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
367+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
358368 - name : Cache conda
359369 uses : actions/cache@v4
360370 env :
@@ -392,11 +402,12 @@ jobs:
392402 conda activate pymc-test
393403 pip install -e .
394404 python --version
405+ conda list
395406 - name : Run tests
396407 run : |
397408 python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 $TEST_SUBSET
398409 - name : Upload coverage to Codecov
399- uses : codecov/codecov-action@v3
410+ uses : codecov/codecov-action@v4
400411 with :
401412 token : ${{ secrets.CODECOV_TOKEN }} # use token for more robust uploads
402413 env_vars : TEST_SUBSET
@@ -410,7 +421,7 @@ jobs:
410421 matrix :
411422 os : [windows-latest]
412423 floatx : [float32]
413- python-version : ["3.11 "]
424+ python-version : ["3.12 "]
414425 test-subset :
415426 - tests/sampling/test_mcmc.py tests/ode/test_ode.py tests/ode/test_utils.py tests/distributions/test_transform.py
416427 fail-fast : false
@@ -422,7 +433,7 @@ jobs:
422433 run :
423434 shell : cmd
424435 steps :
425- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
436+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
426437 - name : Cache conda
427438 uses : actions/cache@v4
428439 env :
@@ -459,16 +470,17 @@ jobs:
459470 run : |
460471 conda activate pymc-test
461472 pip install -e .
462- pip install --pre -U polyagamma
473+ pip install --pre -U ' polyagamma<1.3.7'
463474 python --version
475+ conda list
464476 - name : Run tests
465477 # This job uses a cmd shell, therefore the environment variable syntax is different!
466478 # The ">-" in the next line replaces newlines with spaces (see https://stackoverflow.com/a/66809682).
467479 run : >-
468480 conda activate pymc-test &&
469481 python -m pytest -vv --cov=pymc --cov-report=xml --no-cov-on-fail --cov-report term --durations=50 %TEST_SUBSET%
470482 - name : Upload coverage to Codecov
471- uses : codecov/codecov-action@v3
483+ uses : codecov/codecov-action@v4
472484 with :
473485 token : ${{ secrets.CODECOV_TOKEN }} # use token for more robust uploads
474486 env_vars : TEST_SUBSET
0 commit comments