diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30d3414629ebcb122419121214fbdfe3c30d06f3..a12f618cac4183f6b41ed4524f77f6f86bcdc3d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,34 +1,28 @@
-image: 
-    #name: quay.io/singularity/singularity:v3.4.0
-    name: mandiayba/migale-base
-    entrypoint: [""]
+image: mandiayba/migale-base
 
 stages:
-  - build
   - deploy
+  - test
 
-# Build Singularity container
-singularity-image:
-#  only:
-#    - tags
-#  except:
-#    - master
-  stage: build
+
+# install ressources
+install:
+  stage: deploy
   script: 
-     - cd softwares/
-     - singularity pull library://migale/default/alvisnlp:0.8.1
-     - ln -s $PWD/alvisnlp_0.8.1.sif alvisnlp.sif
-     - git clone https://github.com/Bibliome/obo-utils.git
-     - mkdir -p alvisir-install
-     - git clone https://github.com/Bibliome/alvisir.git
-     - cd alvisir/
-     - apt install maven
-     - mvn clean package
-     - ./install.sh ../alvisir-install
-     - cd ..
-     - rm -rf alvisir
-     - cd ../..
-     - /root/miniconda3/bin/conda env create -f softwares/envs/snakemake-5.13.0-env.yaml
+    - cd softwares/
+    - singularity pull library://migale/default/alvisnlp:0.8.1
+    - ln -s $PWD/alvisnlp_0.8.1.sif alvisnlp.sif
+    - git clone https://github.com/Bibliome/obo-utils.git
+    - cd ..
+    - conda init bash
+    - . ~/.bashrc
+
+# run
+test:
+  stage: test
+  script:
+    - conda run -n snakemake-5.13.0-env snakemake --nolock --verbose --printshellcmds --use-singularity --use-conda --reason --latency-wait 60 --jobs --snakefile preprocess-ontology.snakefile all --dryrun
+    - conda run -n snakemake-5.13.0-env snakemake --nolock --verbose --printshellcmds --use-singularity --use-conda --reason --latency-wait 60 --jobs --snakefile process-evaluate_BioNLP-OST.snakefile all --dryrun
   artifacts:
     paths:
      - corpora/BioNLP-OST-2019/batches/BB19-norm+ner/eval.json