Skip to content

Commit

Permalink
Use micromamba, not conda (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson authored Apr 26, 2023
1 parent 062cee6 commit b5eefef
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
# Interchange is installed with conda. Un-comment this when testing
# against a conda build of Interchange. (It may also be pulled down
# by `openmmforcefields` and should be removed in that case a well.)
conda remove --force openff-toolkit openff-toolkit-base
micromamba remove --force openff-toolkit openff-toolkit-base
python -m pip install .
- name: Install test plugins
Expand All @@ -108,7 +108,7 @@ jobs:
run: |
if [ ! -z "${{ env.PACKAGES_TO_REMOVE }}" ]; then
for cpkg in ${{ env.PACKAGES_TO_REMOVE }}; do
if [[ $(conda list | grep $cpkg) ]]; then conda remove --force $cpkg --yes ; fi
if [[ $(conda list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi
done
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta_rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install package
run: |
conda remove --force openff-toolkit openff-toolkit-base
micromamba remove --force openff-toolkit openff-toolkit-base
python -m pip install .
- name: Install test plugins
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
fi
if [[ "$OPENEYE" == false ]]; then
if [[ $(conda list | grep openeye-toolkits) ]]; then
conda remove --force openeye-toolkits --yes
micromamba remove --force openeye-toolkits --yes
fi
python -c "from openff.toolkit.utils.toolkits import OPENEYE_AVAILABLE; assert not OPENEYE_AVAILABLE, 'OpenEye unexpectedly found'"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conda_010X.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
fi
if [[ "$OPENEYE" == false ]]; then
if [[ $(conda list | grep openeye-toolkits) ]]; then
conda remove --force openeye-toolkits --yes
micromamba remove --force openeye-toolkits --yes
fi
python -c "from openff.toolkit.utils.toolkits import OPENEYE_AVAILABLE; assert not OPENEYE_AVAILABLE, 'OpenEye unexpectedly found'"
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: |
# Maybe remove the packaged openff-toolkit, installed as a dependency of openmmforcefields
# and/or Interchange
conda remove --force openff-toolkit-base
micromamba remove --force openff-toolkit-base
python -m pip install .
- name: Remove undesired toolkits
Expand All @@ -92,7 +92,7 @@ jobs:
# so don't remove it.
if [ ! -z "${{ env.PACKAGES_TO_REMOVE }}" ]; then
for cpkg in ${{ env.PACKAGES_TO_REMOVE }}; do
if [[ $(conda list | grep $cpkg) ]]; then conda remove --force $cpkg --yes ; fi
if [[ $(conda list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi
done
fi
Expand Down

0 comments on commit b5eefef

Please sign in to comment.