Skip to content

Consider adding a diff cargo mutants CI workflow #5100

@benalleng

Description

@benalleng

rust-bitcoin only utilizes a weekly cargo mutants workflow at the moment but after adding a diff mutants CI to our workflow with --in-diff and finding it valuable I wanted to bring it to y'alls attention in case you hadn't yet considered it fully as I can only see a brief mention of it in this comment #2829 (comment).

Based on how the diff mutations work the weekly mutations would likely stay as changes to tests etc would not be caught as only source code changes can be tested. This would simply allow most mutations to be caught more quickly in the PR -> merged pipeline as an example the mutants in #5088 via #5030 could be safely ignored before merging.

Below is how we do it in rust-payjoin
https://github.com/payjoin/rust-payjoin/blob/b97ffb7129aceea4bb56ec7789681d56423572b6/.github/workflows/rust.yml#L126-L158

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions