Skip to content

Commit

Permalink
Fix Github actions build issues (#324)
Browse files Browse the repository at this point in the history
* Hopefully fix installation issues for linux conda, linux pip, and macos conda

* Fix copilot mistake and actually set architecture for macos (d'oh)

* Also use miniforge, I think this is required to get macos-latest to work
  • Loading branch information
ethanbb authored Feb 26, 2025
1 parent c7d5df6 commit 88b668a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/linux-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ jobs:
- name: Install mamba
run: |
mkdir -p $HOME/.conda_pkgs_cache
conda config --add pkgs_dirs "$HOME/.conda_pkgs_cache"
conda install -c conda-forge mamba python=3.10
conda clean -a
# - name: install caiman
# run: |
# mamba install -c conda-forge caiman
- name: install mesmerize-core
run: |
mamba env update -n base --file environment.yml
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/linux-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
cd ..
git clone https://github.com/flatironinstitute/CaImAn.git
cd CaImAn
pip install -r requirements.txt
pip install .
caimanmanager install
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/macos-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v3
with:
architecture: 'x64'
python-version: '3.10'
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
activate-environment: mescore
environment-file: environment.yml
miniforge-version: latest

- name: Test mesmerize-core with pytest
shell: bash -el {0}
Expand Down

0 comments on commit 88b668a

Please sign in to comment.