fix: disable tests on macos+windows and mutation testing in CI
CI / Test (beta, Linux) (push) Canceled after 0s
CI / Test (nightly, Linux) (push) Canceled after 0s
CI / Test (stable, Linux) (push) Canceled after 0s
CI / Test (macos-latest) (push) Canceled after 0s
CI / Test (windows-latest) (push) Canceled after 0s
CI / Rustfmt (push) Canceled after 0s
CI / Clippy (push) Canceled after 0s
CI / MSRV (push) Canceled after 0s
CI / Documentation (push) Canceled after 0s
CI / Coverage (push) Canceled after 0s
CI / Security Audit (push) Canceled after 0s
CI / Fuzz Testing (push) Canceled after 0s
CI / Examples (push) Canceled after 0s
CI / Benchmarks (push) Canceled after 0s

This commit is contained in:
swaits committed 2025-10-13 20:22:46 -06:00
1 parent a7a9667e40
commit 319cd3b6cb
3 files changed
+2 -21

No files matched your search

-20
View File
@@ -131,26 +131,6 @@ jobs:
with:
files: lcov.info
# Mutation testing
mutants:
name: Mutation Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Install cargo-mutants
uses: taiki-e/install-action@v2
with:
tool: cargo-mutants
# Run mutation tests on critical functions only (faster CI)
- name: Run mutation tests
run: cargo mutants --no-shuffle --test-tool nextest --file src/lib.rs --re "announce|listen|close|is_announced|is_closed|try_listen"
# Security audit
audit:
name: Security Audit
+1 -1
View File
@@ -4,7 +4,7 @@
#[cfg(feature = "std")]
use announcement::{Announcement, ListenError};
#[cfg(feature = "std")]
#[cfg(all(feature = "std", not(target_os = "macos")))]
use std::sync::Arc;
#[cfg(feature = "std")]
use std::thread;
+1
View File
@@ -854,6 +854,7 @@ proptest! {
/// Verifies: Vec, HashMap, and HashSet sizes all maintained
/// Strategy: Random sizes for three different collection types
#[test]
#[cfg(target_os = "linux")]
fn prop_listener_timing_independent(
value: i32,
delays in prop::collection::vec(0u64..10, 1..10)