-
Notifications
You must be signed in to change notification settings - Fork 66
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 conda-solver option #291
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
417cd0e
Add conda-solver option
jaimergp 6cd6e89
add example
jaimergp ee93fc7
Remove experimental warnings from mamba
jaimergp 9e28023
lint
jaimergp b506f52
fix names
jaimergp e2d19d4
add to ICondaConfig
jaimergp 1665cf8
build
jaimergp 67abd2a
Update dependencies and lint
goanpeca d3ae9f9
Update package json
goanpeca 96f0058
Merge branch 'develop' into conda-solver
goanpeca c30852f
Merge remote-tracking branch 'upstream/main' into conda-solver
dbast 3cc5c27
Build
dbast 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,49 @@ | ||
name: "Example 12: Configure conda solver" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "develop" | ||
- "main" | ||
- "master" | ||
schedule: | ||
# Note that cronjobs run on master/main by default | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
example-12: | ||
# prevent cronjobs from running on forks | ||
if: | ||
(github.event_name == 'schedule' && github.repository == | ||
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule') | ||
name: Ex12 (os=${{ matrix.os }} solver=${{ matrix.solver }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
solver: ["classic", "libmamba"] | ||
os: ["ubuntu-latest", "windows-latest"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
id: setup-miniconda | ||
continue-on-error: true | ||
with: | ||
auto-update-conda: true | ||
conda-solver: ${{ matrix.solver }} | ||
python-version: "3.9" | ||
- name: Conda info | ||
shell: bash -el {0} | ||
run: conda info | ||
- name: Conda list | ||
shell: pwsh | ||
run: conda list | ||
- name: Environment | ||
shell: bash -el {0} | ||
run: printenv | sort | ||
- name: Create an environment | ||
shell: bash -el {0} | ||
run: conda create -n unused --dry-run zlib |
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
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.
So mamba support is no longer experimental?
Should we still warn about "differently solved environments!" @jaimergp ?
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.
At this point I'd expect people to know enough about it.