Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!36
WIP: Resolve "Add test code coverage"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP: Resolve "Add test code coverage"
10-add-test-code-coverage
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
1
Closed
Éloïs
requested to merge
10-add-test-code-coverage
into
dev
7 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#10
0
0
Merge request reports
Compare
dev
version 2
412eedd8
6 years ago
version 1
412eedd8
7 years ago
dev (base)
and
latest version
latest version
412eedd8
1 commit,
6 years ago
version 2
412eedd8
1 commit,
6 years ago
version 1
412eedd8
1 commit,
7 years ago
1 file
+
12
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
12
−
0
Options
@@ -14,6 +14,18 @@ build:stable:
script
:
-
cargo build --all-features
tests:coverage
:
stage
:
tests
tags
:
-
redshift-kcov-rs-stable
image
:
registry.duniter.org/docker/rust/kcov:v0.0.4
script
:
-
RUSTFLAGS="-C link-dead-code" cargo test --no-run
-
kcov --exclude-pattern ".cargo" --include-path=$(pwd)/wotb --verify target/cov target/debug/duniter_wotb-*
-
kcov --exclude-pattern ".cargo" --include-path=$(pwd)/crypto --verify target/cov target/debug/duniter_crypto-*
-
cat target/cov/index.json
allow_failure
:
true
tests:stable
:
stage
:
tests
tags
:
Loading