Skip to content

Commit 7543a26

Browse files
committed
Set strict channel priority to conda-forge only with no
defaults to see if it speeds up resolver. See also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html#strict-channel-priority
1 parent 1595cb1 commit 7543a26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci_tests.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,17 @@ jobs:
8484
with:
8585
activate-environment: pygmt
8686
python-version: ${{ matrix.python-version }}
87-
environment-file: environment.yml
88-
miniforge-variant: Mambaforge
87+
channels: conda-forge,nodefaults
88+
channel-priority: strict
8989
miniforge-version: latest
90+
miniforge-variant: Mambaforge
9091
mamba-version: "*"
9192
use-mamba: true
9293

9394
# Install GMT and other required dependencies from conda-forge
9495
- name: Install dependencies
9596
run: |
96-
conda install gmt=6.2.0 numpy=${{ matrix.numpy-version }} \
97+
mamba install gmt=6.2.0 numpy=${{ matrix.numpy-version }} \
9798
pandas xarray netCDF4 packaging \
9899
${{ matrix.optional-packages }} \
99100
codecov coverage[toml] dvc ipython make \

0 commit comments

Comments
 (0)