|
32 | 32 | ubuntu: |
33 | 33 | strategy: |
34 | 34 | matrix: |
35 | | - os: [ubuntu-18.04] |
| 35 | + os: [ubuntu-20.04] |
36 | 36 | floatx: [float32, float64] |
37 | 37 | test-subset: |
38 | 38 | # How this works: |
@@ -248,13 +248,24 @@ jobs: |
248 | 248 | env_vars: TEST_SUBSET |
249 | 249 | name: ${{ matrix.os }} ${{ matrix.floatx }} |
250 | 250 | fail_ci_if_error: false |
251 | | - jax: |
| 251 | + macos: |
252 | 252 | strategy: |
253 | 253 | matrix: |
254 | | - os: [ubuntu-latest] |
| 254 | + os: [macos-latest] |
255 | 255 | floatx: [float64] |
256 | 256 | test-subset: |
257 | | - - pymc/tests/test_sampling_jax.py |
| 257 | + - | |
| 258 | + pymc/tests/test_parallel_sampling.py |
| 259 | + pymc/tests/test_posteriors.py |
| 260 | + pymc/tests/test_sampling.py |
| 261 | +
|
| 262 | + - | |
| 263 | + pymc/tests/test_data_container.py |
| 264 | + pymc/tests/test_idata_conversion.py |
| 265 | + pymc/tests/test_missing.py |
| 266 | + pymc/tests/test_model.py |
| 267 | + pymc/tests/test_shape_handling.py |
| 268 | + pymc/tests/test_shared.py |
258 | 269 | fail-fast: false |
259 | 270 | runs-on: ${{ matrix.os }} |
260 | 271 | env: |
@@ -301,38 +312,22 @@ jobs: |
301 | 312 | conda activate pymc-test-py39 |
302 | 313 | pip install -e . |
303 | 314 | python --version |
304 | | - - name: Install jax specific dependencies |
305 | | - run: | |
306 | | - conda activate pymc-test-py39 |
307 | | - pip install "numpyro>=0.8.0" |
308 | | - pip install git+https://github.com/blackjax-devs/blackjax.git@main |
309 | 315 | - name: Run tests |
310 | 316 | run: | |
311 | 317 | python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET |
312 | 318 | - name: Upload coverage to Codecov |
313 | 319 | uses: codecov/codecov-action@v2 |
314 | 320 | with: |
315 | 321 | env_vars: TEST_SUBSET |
316 | | - name: JAX tests - ${{ matrix.os }} ${{ matrix.floatx }} |
| 322 | + name: ${{ matrix.os }} ${{ matrix.floatx }} |
317 | 323 | fail_ci_if_error: false |
318 | | - arviz: |
| 324 | + jax: |
319 | 325 | strategy: |
320 | 326 | matrix: |
321 | | - os: [ubuntu-latest, macos-latest] |
| 327 | + os: [ubuntu-20.04] |
322 | 328 | floatx: [float64] |
323 | 329 | test-subset: |
324 | | - - | |
325 | | - pymc/tests/test_parallel_sampling.py |
326 | | - pymc/tests/test_posteriors.py |
327 | | - pymc/tests/test_sampling.py |
328 | | -
|
329 | | - - | |
330 | | - pymc/tests/test_data_container.py |
331 | | - pymc/tests/test_idata_conversion.py |
332 | | - pymc/tests/test_missing.py |
333 | | - pymc/tests/test_model.py |
334 | | - pymc/tests/test_shape_handling.py |
335 | | - pymc/tests/test_shared.py |
| 330 | + - pymc/tests/test_sampling_jax.py |
336 | 331 | fail-fast: false |
337 | 332 | runs-on: ${{ matrix.os }} |
338 | 333 | env: |
@@ -379,17 +374,17 @@ jobs: |
379 | 374 | conda activate pymc-test-py39 |
380 | 375 | pip install -e . |
381 | 376 | python --version |
382 | | - - name: Install latest arviz |
| 377 | + - name: Install jax specific dependencies |
383 | 378 | run: | |
384 | 379 | conda activate pymc-test-py39 |
385 | | - pip uninstall arviz -y |
386 | | - pip install git+https://github.com/arviz-devs/arviz |
| 380 | + pip install "numpyro>=0.8.0" |
| 381 | + pip install git+https://github.com/blackjax-devs/blackjax.git@main |
387 | 382 | - name: Run tests |
388 | 383 | run: | |
389 | 384 | python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET |
390 | 385 | - name: Upload coverage to Codecov |
391 | 386 | uses: codecov/codecov-action@v2 |
392 | 387 | with: |
393 | 388 | env_vars: TEST_SUBSET |
394 | | - name: ArviZ compat - ${{ matrix.os }} ${{ matrix.floatx }} |
| 389 | + name: JAX tests - ${{ matrix.os }} ${{ matrix.floatx }} |
395 | 390 | fail_ci_if_error: false |
0 commit comments