You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: dockerized: do not mount anything to containers
Running dockerized tests caused creation of root-owned `.cargo_home`
directory on host. Similar problem occurred when mounting cargo registry
directory.
This commit alters the mechanism of action of dockerized tests. Instead
of mounting source directory to container and running `cargo test`
there, source files are copied to the testing image during `docker
build` phase. This phase is now performed on each
`test/dockerized/run.sh' invocation, with newly built images replacing
old ones. The built images cache crates.io index and downloaded crates,
enabling faster testing.
0 commit comments