File tree 2 files changed +31
-5
lines changed 2 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Rust
2
2
3
- on : [push]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
4
8
5
9
# see https://matklad.github.io/2021/09/04/fast-rust-builds.html
6
10
env :
80
84
with :
81
85
name : mutation-report
82
86
path : mutants.out
87
+
88
+ pr-mutants :
89
+ runs-on : ubuntu-latest
90
+ if : github.event_name == 'pull_request'
91
+ steps :
92
+ - uses : actions/checkout@v3
93
+ with :
94
+ fetch-depth : 0
95
+ - name : Relative diff
96
+ run : |
97
+ git branch -av
98
+ git diff origin/${{ github.base_ref }}.. | tee git.diff
99
+ - uses : dtolnay/rust-toolchain@master
100
+ with :
101
+ toolchain : beta
102
+ - uses : Swatinem/rust-cache@v2
103
+ - run : cargo install cargo-mutants
104
+ - name : Mutants
105
+ run : |
106
+ cargo mutants --no-shuffle -vV --in-diff git.diff
107
+ - name : Archive mutants.out
108
+ uses : actions/upload-artifact@v3
109
+ if : always()
110
+ with :
111
+ name : mutants-incremental.out
112
+ path : mutants.out
Original file line number Diff line number Diff line change @@ -317,10 +317,6 @@ impl Command {
317
317
) ?,
318
318
..Default :: default ( )
319
319
} ;
320
- if * long_listing || * verbose {
321
- // TODO(CON-23): Really Nutmeg should coordinate stdout and stderr...
322
- // todo!("Disable progress bars!");
323
- }
324
320
let stats = backup (
325
321
& Archive :: open ( open_transport ( archive) ?) ?,
326
322
source,
You can’t perform that action at this time.
0 commit comments