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
A
authority
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
katzenpost
authority
Commits
9db6324c
Commit
9db6324c
authored
Sep 16, 2019
by
masala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add coverage report
parent
3cd145ac
Pipeline
#893
passed with stage
in 35 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
.gitlab-ci.yml
.gitlab-ci.yml
+13
-5
No files found.
.gitlab-ci.yml
View file @
9db6324c
...
...
@@ -5,10 +5,18 @@ before_script:
-
cp -r /builds/katzenpost/* /go/src/github.com/katzenpost/
-
cd /go/src/github.com/katzenpost/authority
-
go get -v -t ./...
-
mkdir -p coverage
test-authority
:
test-authority
-internal
:
script
:
-
go test -cover -v -race ./internal/...
-
go test -cover -v -race ./voting/...
-
go test -cover -v -race ./nonvoting/...
-
go test -cover -v -race -timeout 0 -ldflags "-X github.com/katzenpost/core/epochtime.WarpedEpoch=true -X github.com/katzenpost/server/internal/pki.WarpedEpoch=true" ./tests/...
-
go test -v -cover -coverprofile internal.cov -covermode atomic -coverpkg ./... -race ./internal/...
-
go test -v -cover -coverprofile voting.cov -covermode atomic -coverpkg ./... -race ./voting/...
-
go test -v -cover -coverprofile nonvoting.cov -covermode atomic -coverpkg ./... -race ./nonvoting/...
-
go test -v -cover -coverprofile integration.cov -covermode atomic -coverpkg ./... -race -timeout 0 -ldflags "-X github.com/katzenpost/core/epochtime.WarpedEpoch=true -X github.com/katzenpost/server/internal/pki.WarpedEpoch=true" ./tests/...
-
go tool cover -html=internal.cov -o coverage/internal.html
-
go tool cover -html=voting.cov -o coverage/voting.html
-
go tool cover -html=nonvoting.cov -o coverage/nonvoting.html
-
go tool cover -html=integration.cov -o coverage/integration.html
artifacts
:
paths
:
-
coverage/
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