-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on-push.yml: moved from provision-with-micromamba to setup-mic…
…romamba as the former is deprecated.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,20 +29,20 @@ jobs: | |
- uses: pre-commit/[email protected] | ||
|
||
unit-tests: | ||
name: unit-tests (3.10) | ||
name: unit-tests (3.12) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/provision-with-micromamba@v14 | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: environment.yml | ||
environment-name: DEVELOP | ||
channels: conda-forge | ||
cache-env: true | ||
extra-specs: | | ||
python=3.10 | ||
create-args: | | ||
python=3.12 | ||
- name: Install package | ||
run: | | ||
python -m pip install --no-deps -e . | ||
|
@@ -57,14 +57,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/provision-with-micromamba@v14 | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: docs/requirements.txt | ||
environment-name: DEVELOP | ||
channels: conda-forge | ||
cache-env: true | ||
extra-specs: | | ||
python=3.10 | ||
create-args: | | ||
python=3.12 | ||
- name: Install package | ||
run: | | ||
python -m pip install --no-deps -e . | ||
|
@@ -79,13 +79,13 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- python-version: '3.8' | ||
- python-version: '3.12' | ||
extra: -minver | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/provision-with-micromamba@v14 | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: environment${{ matrix.extra }}.yml | ||
environment-name: DEVELOP${{ matrix.extra }} | ||
|