Skip to content

Commit

Permalink
Update on-push.yml: moved from provision-with-micromamba to setup-mic…
Browse files Browse the repository at this point in the history
…romamba as the former is deprecated.
  • Loading branch information
jakobwes authored Nov 24, 2024
1 parent d3ccb63 commit 10ee7f3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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 .
Expand All @@ -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 }}
Expand Down

0 comments on commit 10ee7f3

Please sign in to comment.