Fix conda builds defaulting to python 3.12 #226
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS Conda | |
on: | |
pull_request: | |
branches: | |
- master | |
- dev | |
push: | |
branches: [ master ] | |
jobs: | |
build-macos-conda: | |
runs-on: macos-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: '3.10' | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
channel-priority: true | |
activate-environment: mescore | |
environment-file: environment.yml | |
- name: install mesmerize-core | |
run: | | |
conda init | |
conda activate mescore | |
caimanmanager install | |
pip install . | |
- name: Test with pytest | |
run: | | |
mamba install pytest | |
DOWNLOAD_GROUND_TRUTHS=1 pytest -s . | |