Skip to content

Commit

Permalink
Use --in-place in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Jan 20, 2024
1 parent 721a655 commit 2eaaa7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
run: |
install cargo-mutants $HOME/.cargo/bin/
- name: Mutants in-diff
# Normally this would have --in-place, but for the sake of exercising more cases, it does not.
run: >
cargo mutants --no-shuffle -vV --in-diff git.diff --test-tool
${{matrix.test_tool}}
Expand Down Expand Up @@ -147,7 +148,7 @@ jobs:
# Skip baselines because this action depends on the tests
run: >
cargo mutants --no-shuffle -vV --shard ${{ matrix.shard }}/8
--test-tool ${{ matrix.test_tool }} --baseline=skip
--test-tool ${{ matrix.test_tool }} --baseline=skip --in-place
- name: Archive mutants.out
uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion book/src/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
tool: cargo-mutants
- name: Run mutant tests
run: cargo mutants -vV
run: cargo mutants -vV --in-place
- name: Archive results
uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit 2eaaa7b

Please sign in to comment.