Skip to content

Update Test CI #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ on:
- "tests/**"
- "setup.py"
- "pyproject.toml"
- "buildosx"
- "conda-envs/**"
- "codecov.yml"

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
ubuntu:
strategy:
Expand All @@ -37,7 +43,7 @@ jobs:
shell: bash -leo pipefail {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: conda-envs/environment-test.yml
create-args: >-
Expand Down Expand Up @@ -80,10 +86,10 @@ jobs:
shell: cmd /C call {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: conda-envs/windows-environment-test.yml
micromamba-version: "1.5.10-0" # Until https://github.com/mamba-org/mamba/issues/3467 is not fixed
environment-file: conda-envs/environment-test.yml
micromamba-version: "latest"
create-args: >-
python=${{matrix.python-version}}
environment-name: pymc-extras-test
Expand Down
24 changes: 13 additions & 11 deletions conda-envs/environment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ channels:
- conda-forge
- nodefaults
dependencies:
- pymc>=5.21
- pytest-cov>=2.5
- pytest>=3.0
- dask<2025.1.1
- xhistogram
- statsmodels
- numba<=0.60.0
- pip
- pip:
- blackjax
- pymc>=5.21.1
- scikit-learn
- better_optimize
- better-optimize
- dask<2025.1.1
- xhistogram
- statsmodels
- numba
- pytest
- pytest-cov
- libgcc<15
- pip
- pip:
- jax
- blackjax
17 changes: 0 additions & 17 deletions conda-envs/windows-environment-test.yml

This file was deleted.

Loading