Fix CI launch events #11
Workflow file for this run
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
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 GitHub Actions / Test micro.mamba.pmInvalid workflow file
|
||
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 }} |