Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emzed-ext-mzmine2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
sispub
emzed
emzed-ext-mzmine2
Commits
671d4e06
Commit
671d4e06
authored
4 years ago
by
schmittu
Browse files
Options
Downloads
Patches
Plain Diff
[CI] refac .gitlab-ci.yml
parent
40317d72
No related branches found
No related tags found
No related merge requests found
Pipeline
#2074
passed
4 years ago
Stage: style
Stage: test_code
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-15
10 additions, 15 deletions
.gitlab-ci.yml
with
10 additions
and
15 deletions
.gitlab-ci.yml
+
10
−
15
View file @
671d4e06
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment