Skip to content
Snippets Groups Projects
Commit 671d4e06 authored by schmittu's avatar schmittu :beer:
Browse files

[CI] refac .gitlab-ci.yml

parent 40317d72
No related branches found
No related tags found
No related merge requests found
Pipeline #2074 passed
......@@ -3,6 +3,7 @@ stages:
- test_code
- update_docs
check_style:
stage: style
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_19_10_for_emzed
......@@ -12,6 +13,7 @@ check_style:
- pip3 install flake8
- flake8 --max-line-length=88 --ignore E203,W503 tests src/emzed_ext_mzmine2
windows_tests:
stage: test_code
tags:
......@@ -28,9 +30,8 @@ windows_tests:
- venv/Scripts/pytest -s tests
ubuntu_19_10:
.ubuntu: &ubuntu
stage: test_code
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_19_10_for_emzed
tags:
- docker-executor
script:
......@@ -44,21 +45,15 @@ ubuntu_19_10:
paths:
- htmlcov/
ubuntu_19_10:
<<: *ubuntu
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_19_10_for_emzed
ubuntu_20_04:
stage: test_code
<<: *ubuntu
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_20_04_for_emzed
tags:
- docker-executor
script:
- pip install --extra-index-url https://pypi-sissource.ethz.ch/simple emzed3
- pip install -e .
- pip install -r requirements_dev.txt
- sleep ${SLEEP:-0}
- python3 -c 'import emzed_ext_mzmine2 as e; e.init()'
- pytest -s --cov src --cov-report html --cov-report term tests
artifacts:
paths:
- htmlcov/
update_docs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment