From 926329b2f2840a9131306e69f0d7dd73f3e90a84 Mon Sep 17 00:00:00 2001 From: Geoffrey Gunter <12984092+gmgunter@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:14:26 -0700 Subject: [PATCH] Migrate CI to use setup-micromamba action (#17) The previous workflow used the `provision-with-micromamba` action[^1], which has been deprecated and is superceded by `setup-micromamba`[^2] [^1]: https://github.com/mamba-org/provision-with-micromamba [^2]: https://github.com/mamba-org/setup-micromamba --- .github/workflows/pytest.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2e9b1cf..805eb00 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -17,7 +17,7 @@ jobs: - label: Latest spec: "" - label: Minimum - spec: | + spec: >- dask=2022.05.1 h5py=3 isce3=0.12 @@ -35,12 +35,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup environment - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba@v1 with: environment-file: requirements.txt environment-name: tophu - extra-specs: ${{ matrix.deps.spec }} - channels: conda-forge + create-args: ${{ matrix.deps.spec }} + condarc: | + channels: + - conda-forge + - nodefaults - name: Install run: | pip install --no-deps .