From e62a936b8648d4a8946bc648cd3c2d2aa29bea4a Mon Sep 17 00:00:00 2001 From: Mihaela Zavolan <mihaela.zavolan@unibas.ch> Date: Wed, 24 Nov 2021 11:51:43 +0100 Subject: [PATCH] Use nextflow image in ci.yml --- .gitlab-ci.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28d51c4..1b31b31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,14 @@ -image: python:3.9-slim-buster - stages: - qc - test qc_1: stage: qc - + image: python:3.9-slim-buster before_script: - pip install -r requirements.txt - pip install -r requirements_dev.txt - pip install -e . - script: - flake8 src/ setup.py - coverage run --source src/ -m pytest @@ -20,16 +17,7 @@ qc_1: test_1: stage: test - - before_script: - - pip install -r requirements.txt - - pip install -r requirements_dev.txt - - pip install -e . - - apt update -y - - apt install wget -y - - wget -qO- https://get.nextflow.io | bash - - nextflow self-update - + image: nextflow/nexflow:21.10.3 script: - nextflow main.nf -- GitLab