Skip to content

Commit

Permalink
Migrate to mamba-org/setup-micromamba (#1758)
Browse files Browse the repository at this point in the history
* setup-micromamba migration

Committer: Devon Watt <devon.watt@mail.mcgill.ca>

 On branch micromamba
 Changes to be committed:
	modified:   .github/workflows/pytest.yml

* double check vs ex

* update release docs

* tidy up, rerun build

* Update docs/sphinx/source/whatsnew/v0.9.6.rst

---------

Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
  • Loading branch information
d-watt and kandersolar committed Jun 1, 2023
1 parent 1c60a5d commit ef4e31b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ jobs:

- name: Install Conda environment with Micromamba
if: matrix.environment-type == 'conda'
uses: mamba-org/provision-with-micromamba@v14
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ${{ env.REQUIREMENTS }}
cache-downloads: true
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
channel-priority: flexible
condarc: |
channel-priority: flexible
env:
# build requirement filename. First replacement is for the python
# version, second is to add "-min" if needed
Expand Down
3 changes: 2 additions & 1 deletion docs/sphinx/source/whatsnew/v0.9.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Bug fixes

Testing
~~~~~~~

* Migrated to mamba-org/setup-micromamba. (:issue:`1746`, :pull:`1758`)

Documentation
~~~~~~~~~~~~~
Expand Down Expand Up @@ -81,4 +81,5 @@ Contributors
* Andy Lam (:ghuser:`@andylam598`)
* :ghuser:`ooprathamm`
* Kevin Anderson (:ghuser:`kandersolar`)
* Devon Watt (:ghuser:`d-watt`)

0 comments on commit ef4e31b

Please sign in to comment.