setup-miniconda GitHub Actions工作流Miniconda环境设置

通过setup-miniconda这个 GitHub Actions 插件,你可以轻松设置 Miniconda 环境。安装 Miniconda 并配置好condabin/文件夹,整个过程简洁高效。最重要的是,它会为你自动创建一个测试环境,而且不会使用默认的base环境。这样,你就能避免使用 base 环境进行包安装,避免了潜在的环境污染,方便保持工作流干净整洁。这个工具在任何平台上都能好环境激活问题,适合需要在 CI/CD 过程中管理 Python 依赖的开发者。你可以完全依赖它来自动化你的环境配置,节省了不少时间和精力。如果你正好需要管理 Miniconda 环境,它简直是一个不错的选择。

此外,setup-miniconda也适合与GitHub Actions结合使用。你只需要通过配置,就能在 CI/CD 管道中自动执行环境的设置和包安装,省去手动配置的烦恼。值得注意的是,如果你不默认使用base环境,它会自动跳过这一步。整体来说,适合自动化构建和测试。

zip
setup-miniconda-master.zip 预估大小:63个文件
folder
setup-miniconda-master 文件夹
file
.gitattributes 11B
folder
.github 文件夹
folder
workflows 文件夹
file
example-4.yml 988B
file
example-8.yml 1KB
file
lint.yml 620B
file
example-2.yml 2KB
file
example-5.yml 2KB
file
example-1.yml 1KB
file
example-9.yml 1KB
file
example-7.yml 1KB
file
example-10.yml 3KB
file
caching-example.yml 1KB
file
example-3.yml 1KB
file
example-6.yml 2KB
file
LICENSE.txt 1KB
file
RELEASE.md 595B
file
action.yml 10KB
file
.eslintrc.js 1KB
folder
src 文件夹
file
types.ts 5KB
folder
installer 文件夹
file
bundled-miniconda.ts 880B
file
download-miniconda.ts 3KB
file
base.ts 3KB
file
index.ts 3KB
file
download-url.ts 671B
file
download-miniforge.ts 2KB
file
utils.ts 2KB
file
constants.ts 4KB
folder
env 文件夹
file
yaml.ts 4KB
file
index.ts 2KB
file
simple.ts 926B
file
explicit.ts 689B
file
setup.ts 3KB
folder
base-tools 文件夹
file
index.ts 2KB
file
update-mamba.ts 1KB
file
update-conda.ts 608B
file
update-conda-build.ts 459B
file
update-python.ts 610B
file
outputs.ts 1KB
file
conda.ts 9KB
file
typings.d.ts 353B
file
delete.ts 1KB
file
input.ts 4KB
folder
etc 文件夹
file
example-faulty-environment.yml 70B
file
example-empty-channels-environment.yml 89B
file
example-environment-2.yml 397B
file
example-explicit.Windows.conda.lock 4KB
file
example-condarc.yml 246B
file
example-explicit.Linux.conda.lock 5KB
file
example-environment.yml 70B
file
example-environment-explicit.yml 55B
file
example-environment-no-name.yml 44B
file
example-explicit.macOS.conda.lock 4KB
file
example-environment-caching.yml 85B
file
CONTRIBUTING.md 458B
file
tsconfig.json 573B
file
.prettierrc 28B
file
README.md 19KB
folder
dist 文件夹
folder
setup 文件夹
file
index.js 1.16MB
folder
delete 文件夹
file
index.js 72KB
file
.gitignore 35B
file
CHANGELOG.md 6KB
file
.eslintignore 6B
file
package-lock.json 735KB
file
package.json 2KB
...
zip 文件大小:534.66KB