Skip to content

Commit

Permalink
Gather test coverage with stable rust
Browse files Browse the repository at this point in the history
  • Loading branch information
ricohageman committed Apr 8, 2022
1 parent 2092218 commit c281275
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -303,7 +303,7 @@ jobs:
continue-on-error: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true
profile: minimal
components: llvm-tools-preview
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Expand Up @@ -20,7 +20,6 @@
),
allow(unused_variables, unused_assignments)
)))]
#![cfg_attr(coverage, feature(no_coverage))] // used in src/test_hygiene.rs

//! Rust bindings to the Python interpreter.
//!
Expand Down
3 changes: 0 additions & 3 deletions src/test_hygiene/mod.rs
@@ -1,9 +1,6 @@
// The modules in this test are used to check PyO3 macro expansion is hygienic. By locating the test
// inside the crate the global `::pyo3` namespace is not available, so in combination with
// #[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, no_coverage)]

mod misc;
mod pyclass;
Expand Down

0 comments on commit c281275

Please sign in to comment.