Skip to content

Commit

Permalink
Migrate CI to use setup-micromamba action (#17)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gmgunter committed Aug 21, 2023
1 parent 8b9eb58 commit 926329b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- label: Latest
spec: ""
- label: Minimum
spec: |
spec: >-
dask=2022.05.1
h5py=3
isce3=0.12
Expand All @@ -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 .
Expand Down

0 comments on commit 926329b

Please sign in to comment.