File tree 4 files changed +20
-6
lines changed 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 14
14
java-version : ' 11'
15
15
- uses : conda-incubator/setup-miniconda@v2
16
16
with :
17
+ mamba-version : " *"
17
18
auto-update-conda : true
18
19
channels : conda-forge,bioconda,defaults
19
20
- name : Install dependencies
30
31
- name : Run tests
31
32
run : |
32
33
export NXF_VER=22.04.5
33
- make
34
+ make
Original file line number Diff line number Diff line change @@ -8,11 +8,23 @@ before_script:
8
8
# - pip3 install biopython==1.76
9
9
- wget -qO- https://get.nextflow.io | bash && cp nextflow /usr/local/bin/nextflow
10
10
- nextflow help
11
- - wget https://repo.anaconda. com/miniconda/Miniconda3- latest-Linux-x86_64.sh
11
+ - wget -q https://github. com/conda-forge/miniforge/releases/ latest/download/Mambaforge -Linux-x86_64.sh
12
12
- mkdir /root/.conda
13
- - bash Miniconda3-latest-Linux-x86_64.sh -b && cp /root/miniconda3/bin/* /usr/local/bin/
14
- - rm -f Miniconda3-latest-Linux-x86_64.sh
15
- - conda --version
13
+ - bash Mambaforge-Linux-x86_64.sh -b -p /usr/local/bin/conda
14
+ - rm -f Mambaforge-Linux-x86_64.sh
15
+ - source /usr/local/bin/conda/etc/profile.d/conda.sh
16
+ - source /usr/local/bin/conda/etc/profile.d/mamba.sh
17
+ - which mamba
18
+ - mamba --version
19
+ # this is a workaround for https://github.com/mamba-org/mamba/issues/1993
20
+ - echo "use_lockfiles:" >> ~/.mambarc
21
+ - echo " - false" >> ~/.mambarc
22
+ - echo "channels:" >> ~/.mambarc
23
+ - echo " - defaults" >> ~/.mambarc
24
+ - echo " - conda-forge" >> ~/.mambarc
25
+ - echo " - bioconda" >> ~/.mambarc
26
+ - cat ~/.mambarc
27
+
16
28
17
29
stages :
18
30
- test
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ process PANGOLIN_LINEAGE {
9
9
publishDir " ${ params.output} " , mode: " copy"
10
10
tag " ${ name} "
11
11
12
- conda (params. enable_conda ? " bioconda::pangolin=4.1.2 " : null )
12
+ conda (params. enable_conda ? " bioconda::pangolin=4.3 " : null )
13
13
14
14
input:
15
15
tuple val(name), val(caller), file(fasta)
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ profiles {
32
32
conda {
33
33
params. enable_conda = true
34
34
conda. enabled = true
35
+ conda. useMamba = true
35
36
}
36
37
debug { process. beforeScript = ' echo $HOSTNAME' }
37
38
test {
You can’t perform that action at this time.
0 commit comments