-
Notifications
You must be signed in to change notification settings - Fork 9
57 lines (55 loc) · 1.72 KB
/
build.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: build-conda-environments
on:
push:
branches:
- main
pull_request_target:
branches:
- main
jobs:
build-environments:
runs-on: ubuntu-latest
strategy:
matrix:
environment:
- workflow/envs/antismash.yaml
- workflow/envs/antismash_v6.yaml
- workflow/envs/arts.yaml
- workflow/envs/automlst_wrapper.yaml
- workflow/envs/bgc_analytics.yaml
- workflow/envs/bigscape.yaml
- workflow/envs/bigslice.yaml
- workflow/envs/checkm.yaml
- workflow/envs/cblaster.yaml
- workflow/envs/clinker.yaml
- workflow/envs/dbt-duckdb.yaml
- workflow/envs/deeptfactor.yaml
- workflow/envs/eggnog.yaml
- workflow/envs/fastani.yaml
- workflow/envs/gtdbtk.yaml
- workflow/envs/mash.yaml
- workflow/envs/mmseqs2.yaml
- workflow/envs/prokka.yaml
- workflow/envs/r_notebook.yaml
- workflow/envs/roary.yaml
- workflow/envs/seqfu.yaml
- workflow/envs/utilities.yaml
- workflow/envs/lsabgc.yaml
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Micromamba
uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.0-1'
environment-file: ${{ matrix.environment }}
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- name: Test conda environment
run: echo "Testing conda environment"
- name: Fail build if tests fail
run: exit 1
if: ${{ job.status != 'success' }}