Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
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
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
Show more breadcrumbs
Metagenomics
metagenedb
Commits
5c0eff4a
Commit
5c0eff4a
authored
6 years ago
by
Kenzo-Hugo Hillion
Browse files
Options
Downloads
Patches
Plain Diff
add scripts in coverage
parent
4d384743
No related branches found
No related tags found
No related merge requests found
Pipeline
#12637
failed
6 years ago
Stage: lint_test_coverage_backend
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
backend/requirements_dev.txt
+1
-0
1 addition, 0 deletions
backend/requirements_dev.txt
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
5c0eff4a
...
@@ -30,5 +30,5 @@ test-backend:
...
@@ -30,5 +30,5 @@ test-backend:
DJANGO_SETTINGS_MODULE
:
"
metagenedb.settings-gitlab-ci"
DJANGO_SETTINGS_MODULE
:
"
metagenedb.settings-gitlab-ci"
script
:
script
:
-
flake8 --max-line-length
120
-
flake8 --max-line-length
120
-
coverage run --source='.' scripts/manage.
py
test -
v 2 metagenedb/tests
-
pytest -
-cov . 2>&1 pytest_tmp.out
-
coverage report
-
pytest --cov scripts/ --cov-append
This diff is collapsed.
Click to expand it.
backend/requirements_dev.txt
+
1
−
0
View file @
5c0eff4a
...
@@ -20,6 +20,7 @@ pyflakes==2.1.1
...
@@ -20,6 +20,7 @@ pyflakes==2.1.1
pyparsing==2.4.0
pyparsing==2.4.0
pytest==4.6.3
pytest==4.6.3
pytest-cov==2.7.1
pytest-cov==2.7.1
pytest-django==3.5.0
pytz==2019.1
pytz==2019.1
six==1.12.0
six==1.12.0
sqlparse==0.3.0
sqlparse==0.3.0
...
...
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