name: Full Mutant Testing
on:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
permissions: {}
jobs:
mutants:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: advantic-au/action-mq-client@stable
id: mq-client
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: stable
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 - uses: taiki-e/install-action@c07504cae06f832dc8de08911c9a9c5cddb0d2d3 with:
tool: cargo-mutants
- name: Mutant testing
run: |
cargo mutants -vV --in-place --all-features
env:
MQ_HOME: ${{ steps.mq-client.outputs.client-install-path }}
- name: Artefact mutants.out
uses: actions/upload-artifact@v4
if: always()
with:
name: mutants-out
path: mutants.out