-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update micromamba installation process, refactor options (#185)
Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com> Co-authored-by: Jannik Wibker <jannikwibker@gmail.com>
- Loading branch information
1 parent
5436597
commit 8767fb7
Showing
21 changed files
with
52,851 additions
and
51,533 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Test download | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
merge_group: | ||
|
||
|
||
jobs: | ||
ensure-download: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
echo "exit 1" >> micromamba | ||
sudo cp micromamba /usr/bin/micromamba | ||
sudo chmod +x /usr/bin/micromamba | ||
- uses: ./ | ||
with: | ||
environment-name: test | ||
create-args: >- | ||
python | ||
download-micromamba: true | ||
- run: | | ||
micromamba --version | ||
ensure-local-default: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
curl -Ls https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 > micromamba | ||
sudo cp micromamba /usr/bin/micromamba | ||
sudo chmod +x /usr/bin/micromamba | ||
- uses: ./ | ||
with: | ||
environment-name: test | ||
create-args: >- | ||
python | ||
micromamba-url: https://invalid.domain |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,5 +97,5 @@ outputs: | |
|
||
runs: | ||
using: node20 | ||
main: dist/index.js | ||
main: dist/main.js | ||
post: dist/post.js |
Oops, something went wrong.