Skip to content

Fix CI launch events #11

Fix CI launch events

Fix CI launch events #11

name: Test micro.mamba.pm
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *'
push:
branches:
- main
pull_request:
branches:
- main
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 }})
shell: ${{ matrix.shell }}

Check failure on line 39 in .github/workflows/test_micro.mamba.pm.yml

View workflow run for this annotation

GitHub Actions / Test micro.mamba.pm

Invalid workflow file

The workflow is not valid. .github/workflows/test_micro.mamba.pm.yml (Line: 39, Col: 16): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.shell .github/workflows/test_micro.mamba.pm.yml (Line: 44, Col: 16): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.shell
run: |
"${SHELL}" <(curl -sL http://micro.mamba.pm/install.sh)
- name: Test Micromamba
# use either -l or -i to source .bash_profile or .bashrc/.zshrc
shell: ${{ matrix.shell }} -ec ${{ matrix.shell-source-param }} {0}
run: |
micromamba --help
issue:
runs-on: ubuntu-latest
needs: test_micro_mamba_pm
if: failure() && github.repository_owner == 'mamba-org' && github.event_name == 'schedule'
steps:
- uses: actions/checkout@v3
- uses: JasonEtco/create-an-issue@1a16035489d05041b9af40b970f02e301c52ffba
with:
filename: .github/workflows/bot_issue_template.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}