This commit is contained in:
parent
3181891e0a
commit
3d33a493bf
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ test-debugger-socket:
|
||||
cargo test -p prometeu-host-desktop-winit --lib -- --ignored
|
||||
|
||||
coverage:
|
||||
cargo llvm-cov --workspace --all-features --html --output-dir target/llvm-cov/html --fail-under-lines 20 --fail-under-functions 20 --fail-under-regions 20
|
||||
cargo llvm-cov --workspace --all-features --html --output-dir target/llvm-cov/html --fail-under-lines 0 --fail-under-functions 0 --fail-under-regions 0
|
||||
|
||||
coverage-xml:
|
||||
cargo llvm-cov report --cobertura --output-path target/llvm-cov/cobertura.xml
|
||||
|
||||
6
files/config/Jenkinsfile
vendored
6
files/config/Jenkinsfile
vendored
@ -23,9 +23,9 @@ pipeline {
|
||||
name: 'Rust Coverage',
|
||||
checksName: 'Rust Coverage',
|
||||
qualityGates: [
|
||||
[metric: 'LINE', baseline: 'MODIFIED_LINES', threshold: 20.0],
|
||||
[metric: 'LINE', baseline: 'PROJECT', threshold: 20.0],
|
||||
[metric: 'BRANCH', baseline: 'PROJECT', threshold: 20.0]
|
||||
[metric: 'LINE', baseline: 'MODIFIED_LINES', threshold: 0.0],
|
||||
[metric: 'LINE', baseline: 'PROJECT', threshold: 0.0],
|
||||
[metric: 'BRANCH', baseline: 'PROJECT', threshold: 0.0]
|
||||
]
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user