forked from Azure/iotedge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code coverage reporting to edgelet checkin build (Azure#1303)
* Add code coverage reporting to edgelet ci build * Set environment variables for entire phase * Skip check submodules * Fix cobertura converter download * Allow warnings * Fix the build on nightly * cargo fmt * Fix working directory * Add path to sources * Fix paths * Remove report generation * Use sources directory * Add sources directory * Move code coverage to checkin build * Fix cargo path * Ignore the docker code gen crate * Break build on coverage drop * Use fixed threshold * Use env var * Update workload crate to rust 2018 * cargo fmt * Address comments * Remove docker-rs from lcov results too * Bump up coverage goal to 68 * Unquote the CARGO_HOME env var * Don't escape the CARGO_HOME var
- Loading branch information
Showing
19 changed files
with
122 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
target | ||
**/bin/** | ||
**/obj/** | ||
cobertura.xml | ||
cobertura.xml | ||
report/ | ||
lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
|
||
#![deny(unused_extern_crates, warnings)] | ||
#![deny(rust_2018_idioms, warnings)] | ||
#![deny(clippy::all, clippy::pedantic)] | ||
#![allow(clippy::module_name_repetitions, clippy::use_self)] | ||
|
||
#[macro_use] | ||
extern crate serde_derive; | ||
|
||
#[macro_use] | ||
extern crate failure; | ||
extern crate futures; | ||
extern crate hyper; | ||
extern crate serde; | ||
extern crate serde_json; | ||
extern crate typed_headers; | ||
extern crate url; | ||
|
||
pub mod apis; | ||
pub mod models; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.