Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
campaign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
e2af03b7
Commit
e2af03b7
authored
Jan 04, 2017
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating the coverage in gitlab-ci.yml
parent
5f281b8e
Pipeline
#711
failed with stage
in 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
tests_coverage.sh
tests_coverage.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
e2af03b7
...
@@ -8,7 +8,7 @@ job test python:
...
@@ -8,7 +8,7 @@ job test python:
-
python setup.py develop
-
python setup.py develop
-
cp picampaign/settings.py.sample picampaign/settings.py
-
cp picampaign/settings.py.sample picampaign/settings.py
-
${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test
-
${VIRTUAL_ENV}/bin/coverage run --source='.' manage.py test
-
${VIRTUAL_ENV}/bin/coverage report --omit
="${VIRTUAL_ENV}
/*",'*__init__.py'
-
${VIRTUAL_ENV}/bin/coverage report --omit
="${VIRTUAL_ENV}"
/*",'*__init__.py'
stage
:
test
stage
:
test
tags
:
[
preprod
]
tags
:
[
preprod
]
only
:
only
:
...
...
tests_coverage.sh
View file @
e2af03b7
#!/bin/bash
#!/bin/bash
${
VIRTUAL_ENV
}
/bin/coverage run
--source
=
'.'
manage.py
test
${
VIRTUAL_ENV
}
/bin/coverage run
--source
=
'.'
manage.py
test
${
VIRTUAL_ENV
}
/bin/coverage report
-
m
-
-skip-covered
--omit
=
"
${
VIRTUAL_ENV
}
/*"
,
'*__init__.py'
${
VIRTUAL_ENV
}
/bin/coverage report
--skip-covered
--omit
=
"
${
VIRTUAL_ENV
}
/*"
,
'*__init__.py'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment