Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-ci-by-example
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor 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
Show more breadcrumbs
Walmes Marques Zeviani
gitlab-ci-by-example
Commits
ea2655b3
Commit
ea2655b3
authored
9 years ago
by
Diego Giovane Pasqualin
Browse files
Options
Downloads
Patches
Plain Diff
Cobertura de código
parent
c71ae8c4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-1
11 additions, 1 deletion
.gitlab-ci.yml
with
11 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
1
View file @
ea2655b3
# Esse exemplo não é muito diferente do que você já viu anteriormente. A
# diferença é que este projeto utiliza módulos para cobertura de código, que
# indicam porcentagem do código coberta pelos testes da aplicação.
# Para que o Gitlab "entenda" isso e coloque uma coluna nova na interface
# é necessário editar o campo "Test coverage parsing", em
# <project>/Settings, adicionando expressão regular de acordo com o informado
# pelo programa utilizado no seu projeto para cobertura de código.
#
# Para esse programa, a expressão regular é ^Statements\s*:\s*\d+.\d+\%
image
:
node:4.2
services
:
...
...
@@ -12,7 +22,7 @@ before_script:
-
sed -i 's/host\x3a[ ]*\x27localhost\x27/host\x3a \x27mongo\x27/' config/test.yaml
check
:
typ
e
:
test
stag
e
:
test
script
:
-
gulp lint
-
gulp test
...
...
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