Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
6437ffb6
Commit
6437ffb6
authored
Nov 11, 2018
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_autoci' into 'master'
coverage not tag See merge request chain33/plugin!13
parents
fbe7e211
4cad84d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
.gitlab-ci.yml
.gitlab-ci.yml
+2
-0
coverage.sh
build/tools/coverage.sh
+4
-0
No files found.
.gitlab-ci.yml
View file @
6437ffb6
...
@@ -108,6 +108,8 @@ deploy_paracross:
...
@@ -108,6 +108,8 @@ deploy_paracross:
code_coverage
:
code_coverage
:
stage
:
fork_test
stage
:
fork_test
tags
:
-
33cn
script
:
script
:
-
if [ -n "${onceEveryday}" ]; then
-
if [ -n "${onceEveryday}" ]; then
-
make coverage
-
make coverage
...
...
build/tools/coverage.sh
View file @
6437ffb6
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
# Code coverage generation
# Code coverage generation
set
-e
-o
pipefail
set
-e
-o
pipefail
echo
"cov=
$COVERAGE_DIR
"
COVERAGE_DIR
=
"
${
COVERAGE_DIR
:-
build
/coverage
}
"
COVERAGE_DIR
=
"
${
COVERAGE_DIR
:-
build
/coverage
}
"
echo
"cov=
$COVERAGE_DIR
"
go list ./... |
grep
-v
"vendor"
|
grep
-v
"chain33/test"
|
grep
-v
"mock"
|
grep
-v
"mocks"
\
|
grep
-v
"types"
|
grep
-v
"cmd"
|
grep
-v
"nat"
|
grep
-v
"pbft"
PKG_LIST
=
$(
go list ./... |
grep
-v
"vendor"
|
grep
-v
"chain33/test"
|
grep
-v
"mock"
|
grep
-v
"mocks"
\
PKG_LIST
=
$(
go list ./... |
grep
-v
"vendor"
|
grep
-v
"chain33/test"
|
grep
-v
"mock"
|
grep
-v
"mocks"
\
|
grep
-v
"types"
|
grep
-v
"cmd"
|
grep
-v
"nat"
|
grep
-v
"pbft"
)
|
grep
-v
"types"
|
grep
-v
"cmd"
|
grep
-v
"nat"
|
grep
-v
"pbft"
)
...
...
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