The tests for the push command were changing the current directory which lead to race conditions when run with cargo test. cargo-nextest does not seem to suffer from this.
The fix is to only do this changing of the current dir in one test, and all other tests have a path specified in the cli args.
The tests for the
push
command were changing the current directory which lead to race conditions when run withcargo test
.cargo-nextest
does not seem to suffer from this.The fix is to only do this changing of the current dir in one test, and all other tests have a path specified in the cli args.