Skip to content

Commit 9969084

Browse files
committed
ci: add GitHub Actions workflow to validate conda environment
1 parent 82c182b commit 9969084

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/test-envs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test conda envs
2+
on: [push]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
defaults:
7+
run:
8+
shell: bash -el {0}
9+
strategy:
10+
matrix:
11+
include:
12+
- env: panphylo.yaml
13+
path: 01_PanPhylo_analysis
14+
- env: compar_genomics.yaml
15+
path: 02_Comparative_genomics
16+
- env: dating.yaml
17+
path: 03_Dating
18+
- env: annotation.yaml
19+
path: 04_Functional_annotation
20+
- env: geomap.yaml
21+
path: 05_Map
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: conda-incubator/setup-miniconda@v4
25+
with:
26+
miniforge-version: latest
27+
activate-environment: test
28+
- run: conda env create -f ${{ matrix.path }}/${{ matrix.env }} --dry-run

0 commit comments

Comments
 (0)