-
Notifications
You must be signed in to change notification settings - Fork 19
57 lines (52 loc) · 1.63 KB
/
test_micro.mamba.pm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test micro.mamba.pm
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *'
push:
paths:
- '.github/workflows/test_micro.mamba.pm.yml'
pull_request:
paths:
- '.github/workflows/test_micro.mamba.pm.yml'
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 }}
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 }}