-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add (Mini/Mamba)forge #133
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c431f1f
Add (Mini/Mamba)forge
bollwyvl 82a33d6
remove mamba-in-installer, add upgrading of mamba with mamba to linux…
bollwyvl e9265c8
fix mambaforge version, some work on cache
bollwyvl 30e2865
actually add mamba-version to ubuntu mambaforge test
bollwyvl 783ad97
add a python version test
bollwyvl 277c82e
remove python version test vs explicit
bollwyvl 7185040
activate shell properly
bollwyvl e16a647
ensure mamba bash wrapper is created on windows
bollwyvl d0e4dcd
move mambaInInstaller/useMamba to installer
bollwyvl bea25f3
use a mamba version that exists for upgrade test
bollwyvl ab60b01
split use of tool install from post-install steps (mambaInInstaller i…
bollwyvl 4651cc0
tweak some log output for yaml patching
bollwyvl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: "Example 10: Miniforge, etc" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "master" | ||
schedule: | ||
# Note that cronjobs run on master/main by default | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
example-10-miniforge: | ||
# prevent cronjobs from running on forks | ||
if: | ||
(github.event_name == 'schedule' && github.repository == | ||
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule') | ||
name: Ex10 (${{ matrix.os }}, Miniforge) | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu", "macos", "windows"] | ||
include: | ||
- os: windows | ||
miniforge-version: 4.9.2-4 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
id: setup-miniconda | ||
with: | ||
environment-file: etc/example-environment.yml | ||
miniforge-variant: Miniforge3 | ||
miniforge-version: ${{ matrix.miniforge-version }} | ||
- run: | | ||
conda info | ||
conda list | ||
printenv | sort | ||
|
||
example-10-mambaforge: | ||
# prevent cronjobs from running on forks | ||
if: | ||
(github.event_name == 'schedule' && github.repository == | ||
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule') | ||
name: Ex10 (${{ matrix.os }}, Mambaforge) | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu", "macos", "windows"] | ||
include: | ||
- os: ubuntu | ||
environment-file: etc/example-environment-no-name.yml | ||
miniforge-variant: Mambaforge | ||
miniforge-version: 4.9.2-4 | ||
- os: macos | ||
environment-file: etc/example-empty-channels-environment.yml | ||
miniforge-variant: Mambaforge-pypy3 | ||
- os: windows | ||
environment-file: etc/example-explicit.Windows.conda.lock | ||
condarc-file: etc/example-condarc.yml | ||
miniforge-variant: Mambaforge | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
id: setup-miniconda | ||
with: | ||
condarc-file: ${{ matrix.condarc-file }} | ||
environment-file: ${{ matrix.environment-file }} | ||
miniforge-variant: ${{ matrix.miniforge-variant }} | ||
miniforge-version: ${{ matrix.miniforge-version }} | ||
use-mamba: true | ||
- run: | | ||
mamba info | ||
mamba list | ||
printenv | sort |
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be checked programmatically? Once installed one can check for
mamba
ormamba.bat
in$PREFIX/condabin
and determine it without user intervention, I think.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm... it's probably worth a look...