File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Rust
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
48
59# see https://matklad.github.io/2021/09/04/fast-rust-builds.html
610env :
8084 with :
8185 name : mutation-report
8286 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 {
317317 ) ?,
318318 ..Default :: default ( )
319319 } ;
320- if * long_listing || * verbose {
321- // TODO(CON-23): Really Nutmeg should coordinate stdout and stderr...
322- // todo!("Disable progress bars!");
323- }
324320 let stats = backup (
325321 & Archive :: open ( open_transport ( archive) ?) ?,
326322 source,
You can’t perform that action at this time.
0 commit comments