diff --git a/.github/workflows/linux-conda.yml b/.github/workflows/linux-conda.yml index 0bbf900..945fe19 100644 --- a/.github/workflows/linux-conda.yml +++ b/.github/workflows/linux-conda.yml @@ -27,7 +27,7 @@ jobs: - name: Install mamba run: | - conda install -c conda-forge mamba + conda install -c conda-forge mamba python=3.10 conda clean -a # - name: install caiman diff --git a/.github/workflows/macos-conda.yml b/.github/workflows/macos-conda.yml index cc83e6a..ccb64e7 100644 --- a/.github/workflows/macos-conda.yml +++ b/.github/workflows/macos-conda.yml @@ -16,32 +16,21 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python '3.10' - uses: actions/setup-python@v3 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: '3.10' - - name: Add conda to system path - run: | - # $CONDA is an environment variable pointing to the root of the miniconda directory - echo $CONDA/bin >> $GITHUB_PATH - - - name: Install mamba - run: | - conda install -c conda-forge mamba - conda clean -a - - # - name: install caiman - # run: | - # mamba install -c conda-forge caiman + mamba-version: "*" + channels: conda-forge,defaults + channel-priority: true + activate-environment: mescore + environment-file: environment.yml - - name: install mesmerize-core + - name: Test mesmerize-core with pytest + shell: bash -el {0} run: | - mamba env update -n base --file environment.yml + conda activate mescore + mamba install pytest caimanmanager install pip install . - - - name: Test with pytest - run: | - mamba install pytest DOWNLOAD_GROUND_TRUTHS=1 pytest -s . diff --git a/.github/workflows/windows-conda.yml b/.github/workflows/windows-conda.yml index 4d4a9e2..439b8f8 100644 --- a/.github/workflows/windows-conda.yml +++ b/.github/workflows/windows-conda.yml @@ -14,9 +14,9 @@ jobs: runs-on: "windows-latest" steps: - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: - python-version: 3.9 + python-version: '3.10' mamba-version: "*" channels: conda-forge,defaults channel-priority: true