Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e8618af9
Commit
e8618af9
authored
Feb 23, 2022
by
Adam Cohen
Committed by
Amy Qualls
Feb 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document how to disable undercover code coverage
parent
94d2d47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
doc/development/pipelines.md
doc/development/pipelines.md
+11
-1
No files found.
doc/development/pipelines.md
View file @
e8618af9
...
...
@@ -37,7 +37,7 @@ flowchart LR
subgraph backend
be["Backend code"]--tested with-->rspec
end
be--generates-->fixtures["frontend fixtures"]
fixtures--used in-->jest
```
...
...
@@ -252,6 +252,16 @@ In the event of an emergency, or false positive from this job, add the
`pipeline:skip-undercoverage`
label to the merge request to allow this job to
fail.
You can disable the
`undercover`
code coverage check by wrapping the desired block of code in
`# :nocov:`
lines:
```
ruby
# :nocov:
def
some_method
# code coverage for this method will be skipped
end
# :nocov:
```
## PostgreSQL versions testing
Our test suite runs against PG12 as GitLab.com runs on PG12 and
...
...
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