Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use micromamba #136

Merged
merged 2 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: monthly
19 changes: 9 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,17 @@ jobs:
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
id: conda
- name: set up conda environment
uses: mamba-org/setup-micromamba@v1
with:
channels: conda-forge
channel-priority: strict
activate-environment: xwrf-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
mamba-version: '*'
use-mamba: true
miniforge-variant: Mambaforge
environment-file: ci/environment.yml
init-shell: >-
bash
cache-environment: true
cache-downloads: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}

- name: Install xwrf
id: install
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
python-version: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- name: set up conda environment
id: conda
uses: mamba-org/setup-micromamba@v1
with:
channels: conda-forge,nodefaults
channel-priority: strict
activate-environment: xwrf-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
environment-file: ci/environment-upstream-dev.yml
mamba-version: '*'
use-mamba: true
miniforge-variant: Mambaforge
init-shell: >-
bash
cache-environment: true
cache-downloads: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}

- name: Install xwrf
id: install
Expand Down