Commit 10744200 authored by Celine Noirot's avatar Celine Noirot
Browse files

add test

parent 0e47a70b
Pipeline #26379 failed with stages
in 21 seconds
...@@ -2,12 +2,19 @@ stages: ...@@ -2,12 +2,19 @@ stages:
- build - build
- deploy - deploy
- test - test
push:
stage: test
image: nextflow/nextflow
script:
- singularity pull template-nf.sif oras://registry.forgemia.inra.fr/get-nextflow-ngl-bi/template-nf/template-nf:latest
- nextflow run main.nf -profile test,singularity
# Build Singularity container bwa_v0.7.17.sif # Build Singularity container bwa_v0.7.17.sif
singularity-image: singularity-image:
# recipe for building singularity image and deploy it on the registery for bwa version 0.7.17 # recipe for building singularity image and deploy it on the registery for bwa version 0.7.17
image: image:
name: quay.io/singularity/singularity:v3.4.0 name: quay.io/singularity/singularity:v3.4.0
stage: build stage: build
script: script:
- singularity build template.sif Singularityfile - singularity build template.sif Singularityfile
...@@ -32,12 +39,3 @@ deploy: ...@@ -32,12 +39,3 @@ deploy:
- .gitlab-ci.yml - .gitlab-ci.yml
- Singularityfile - Singularityfile
- emvironement.yml - emvironement.yml
test:
image: nextflow/nextflow
stage: test
push:
script:
- git clone git clone git@forgemia.inra.fr:get-nextflow-ngl-bi/template-nf.git
- cd template-nf
- ln -s template.sif template-nf.sif
- nextflow run main.nf -profile test,singularity
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment