From c48a90e216dbf4fc78cdaaebfa60ba1a77a28e61 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sun, 24 Nov 2024 11:09:22 -0800 Subject: [PATCH] mutants: skip windows.rs and console.rs --- .cargo/mutants.toml | 2 +- .github/workflows/tests.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml index 12ff5751..9dc93c21 100644 --- a/.cargo/mutants.toml +++ b/.cargo/mutants.toml @@ -1,5 +1,5 @@ # cargo-mutants configuration error_values = ["::anyhow::anyhow!(\"mutated!\")"] -exclude_globs = ["src/console.rs"] +exclude_globs = ["src/console.rs"] # done in the source profile = "mutants" # Build without debug symbols diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 13b449a7..3ec1bf7f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -197,7 +197,7 @@ jobs: run: > cargo mutants --no-shuffle -vV --in-diff git.diff --test-tool=${{matrix.test_tool}} --timeout=500 --build-timeout=500 - --exclude=windows.rs + --exclude=windows.rs --exclude=console.rs - name: Archive mutants.out uses: actions/upload-artifact@v4 if: always() @@ -236,6 +236,7 @@ jobs: cargo mutants --no-shuffle -vV --shard ${{ matrix.shard }}/10 --test-tool ${{ matrix.test_tool }} --baseline=skip --timeout=500 --build-timeout=500 --in-place --exclude=windows.rs + --exclude=console.rs - name: Archive mutants.out uses: actions/upload-artifact@v4 if: always()