-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add conda-solver option * add example * Remove experimental warnings from mamba * lint * fix names * add to ICondaConfig * build * Update dependencies and lint * Update package json * Build --------- Co-authored-by: Gonzalo Peña-Castellanos <goanpeca@gmail.com> Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
- Loading branch information
1 parent
ce210e1
commit 8874247
Showing
6 changed files
with
63 additions
and
8 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 |
---|---|---|
@@ -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