Skip to content

Remove default conda channels from CI #551

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 2 commits into from
Feb 25, 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
7 changes: 4 additions & 3 deletions .github/workflows/httomo_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
python-version: '3.10'

- name: httomo-docs
uses: conda-incubator/setup-miniconda@v2
uses: mamba-org/setup-micromamba@v2
with:
auto-update-conda: false
activate-environment: httomo-docs
environment-name: httomo-docs
environment-file: ./docs/source/doc-conda-requirements.yml
post-cleanup: 'all'
init-shell: bash

- name: Install httomo-backends
run: |
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/httomo_version_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ jobs:
with:
python-version: '3.11'

# install dependencies with conda
- name: Install dependencies with conda
# setup conda
- name: Setup conda
uses: mamba-org/setup-micromamba@v2
with:
post-cleanup: 'all'
init-shell: bash

# install dependencies
- name: Install dependencies
run: |
$CONDA/bin/conda install -c conda-forge conda-build
$CONDA/bin/conda install -c conda-forge anaconda-client
$CONDA/bin/conda list
micromamba install -c conda-forge conda-build anaconda-client
micromamba list

- name: Decrypt a secret
run: ./.scripts/decrypt_secret.sh
Expand Down
Loading