Add testdata that's missing coverage #206
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run cargo mutants on itself | |
name: cargo-mutants | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
- ci-* | |
env: | |
# Some runners, especially on Windows, have uneven performance; allow lots | |
# of time before concluding something hung. | |
CARGO_MUTANTS_MINIMUM_TEST_TIMEOUT: 240 | |
jobs: | |
cargo-mutants: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install | |
run: | | |
cargo install --path . | |
- name: Mutants | |
run: | | |
cargo mutants --no-shuffle --exclude console.rs -j 2 | |
- name: Archive mutants.out | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: mutants.out | |
path: mutants.out |