-
Notifications
You must be signed in to change notification settings - Fork 24
56 lines (46 loc) · 1.36 KB
/
conda.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
name: test conda profiles on demand and on publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
preload_ancestry:
uses: ./.github/workflows/preload-reference.yml
test_mamba_ancestry:
uses: ./.github/workflows/ancestry-conda.yml
needs: [preload_ancestry]
with:
ancestry-cache-key: ${{ needs.preload_ancestry.outputs.cache-key }}
test_mamba_standard:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
test_profile: ["test"]
profile: ["mamba"]
nxf_ver: ["23.10.0", ""]
env:
NXF_VER: ${{ matrix.nxf_ver }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge,bioconda,defaults
miniforge-variant: Mambaforge
miniforge-version: latest
python-version: "3.10"
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: install nxf
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_profile}},${{ matrix.profile }}