Skip to content

Commit e5db0d3

Browse files
committed
Add cargo-mutants cronjob
1 parent 13c066e commit e5db0d3

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.cargo/mutants.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
examine_globs = ["units/src/*.rs"]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Weekly cargo-mutants
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
5+
workflow_dispatch: # allows manual triggering
6+
jobs:
7+
cargo-mutants:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: taiki-e/install-action@v2
12+
with:
13+
tool: cargo-mutants
14+
- run: cargo mutants -vV --in-place
15+
- uses: actions/upload-artifact@v4
16+
if: always()
17+
with:
18+
name: mutants-out
19+
path: mutants.out

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ hashes/target
1414

1515
# Test artifacts
1616
bitcoin/dep_test
17+
mutants.out*
1718

1819
# Fuzz artifacts
1920
hfuzz_target

0 commit comments

Comments
 (0)