Skip to content

Test micro.mamba.pm #41

Test micro.mamba.pm

Test micro.mamba.pm #41

name: Test micro.mamba.pm
on:
schedule:
- cron: '0 10 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
issues: write
defaults:
run:
shell: bash -el {0}
jobs:
test_micro_mamba_pm:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-latest, shell: bash, shell-source-param: -i}
- {os: macos-latest, shell: zsh, shell-source-param: -i}
- {os: macos-latest, shell: bash, shell-source-param: -l}
- {os: windows-latest, shell: bash, shell-source-param: -l}
steps:
- name: Install Micromamba (${{ matrix.os }}, ${{ matrix.shell }})
run: |
# TODO: Update install.sh script for Windows
if [ ${{ matrix.os }} = windows-latest ]; then
mkdir -p ~/bin
curl -Ls https://micro.mamba.pm/api/micromamba/win-64/latest \
| bunzip2 | tar xOf - Library/bin/micromamba.exe > ~/bin/micromamba.exe
else
curl http://micro.mamba.pm/install.sh | ${{ matrix.shell }}
fi
- name: Test Micromamba
# use either -l or -i to source .bash_profile or .bashrc/.zshrc
run: |
${{ matrix.shell }} ${{ matrix.shell-source-param }} -ec micromamba
- uses: JasonEtco/create-an-issue@1a16035489d05041b9af40b970f02e301c52ffba
if: failure()
with:
filename: mamba/.github/workflows/bot_issue_template.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}