Skip to content

Commit 7ba49d6

Browse files
committed
Merge rust-bitcoin#4654: Remove match arm and guard mutant exclusion
13c5df0 Enhance the weekly mutation workflow markdown (user) 63b61e9 Remove delete match arm and match guard mutation exclusion (user) Pull request description: Closes rust-bitcoin#4653 This removes the delete match arm and match guard exclusion as these mutations can now be targeted individually. ~~In draft as I have yet to run the mutations locally to add any exclusions that may still need to be added~~ ACKs for top commit: jamillambert: ACK 13c5df0 tcharding: ACK 13c5df0 apoelstra: ACK 13c5df0; successfully ran local tests; lgtm Tree-SHA512: 60a9741a101dae970dba040776c0a635bb697dd1f0ae6baee8131544703fbeeea3d03884b86fbd5710681ff07a83ab4afa94b97a4f925787351baf72a93dd7cb
2 parents 9b4daa4 + 13c5df0 commit 7ba49d6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.cargo/mutants.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ exclude_re = [
1010
".*Error",
1111
"deserialize", # Skip serde mutation tests
1212
"Iterator", # Mutating operations in an iterator can result in an infinite loop
13-
"match arm", "match guard", # New addition in cargo-mutants 25.0.1 deletes match arms and replaces match guards even in excluded functions
1413

1514
# ----------------------------------Crate-specific exclusions----------------------------------
1615
# Units

.github/workflows/cron-weekly-cargo-mutants.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
run: |
2323
if [ -s mutants.out/missed.txt ]; then
2424
echo "New missed mutants found"
25+
MUTANTS_VERSION=$(cargo mutants --version)
2526
gh issue create \
2627
--title "New Mutants Found" \
2728
--body "$(cat <<EOF
2829
Displaying up to the first 10 mutants:
29-
30+
\`\`\`
3031
$(head -n 10 mutants.out/missed.txt)
31-
32+
\`\`\`
33+
Running cargo mutants version: ${MUTANTS_VERSION}
3234
For the complete list, please check the [mutants.out artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
3335
EOF
3436
)"

0 commit comments

Comments
 (0)