Merge pull request #2064 from davidhewitt/test-hygiene-coverage-try-2
ci: ignore coverage for test_hygiene, try 2
This commit is contained in:
commit
3858a63b80
|
@ -10,3 +10,4 @@ coverage:
|
|||
|
||||
ignore:
|
||||
- tests/*.rs
|
||||
- src/test_hygiene/*.rs
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
// Deny some lints in doctests.
|
||||
// Use `#[allow(...)]` locally to override.
|
||||
#![doc(test(attr(deny(warnings), allow(unused_variables, unused_assignments))))]
|
||||
#![cfg_attr(coverage, feature(no_coverage))] // used in src/test_hygiene.rs
|
||||
|
||||
//! Rust bindings to the Python interpreter.
|
||||
//!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// #[pyo3(crate = "crate")] this validates that all macro expansion respects the setting.
|
||||
//
|
||||
// The generated code is never executed (these tests are checking compile time correctness.)
|
||||
#![cfg_attr(coverage, feature(no_coverage))]
|
||||
#![cfg_attr(coverage, no_coverage)]
|
||||
|
||||
mod misc;
|
||||
mod pyclass;
|
||||
|
|
Loading…
Reference in New Issue